Project

General

Profile

Actions

Feature #2157

closed

Reorganize bp-custom.php

Added by Boone Gorges about 12 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority name:
Low
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2012-09-30
Due date:
% Done:

0%

Estimated time:
2.00 h
Deployment actions:

Description

Our bp-custom.php is a godawful mess. I'm going to do some housekeeping there. Strategy:

- Create a separate directory wp-content/plugins/cac-bp-custom-includes/
- Create a few new files for plugin-specific mods. bp-groupblog, buddypress-group-email-subscription, etc
- Include these files from bp-custom.php, and move existing functions from bp-custom.php into this file
- When I find functions in bp-custom.php that don't have anything specific to do with BP, I may move them to mu-plugins/cac-functions.php
- In the future, it may be worth doing something similar with cac-functions.php, though it's not urgent because that file is not so huge.

I'm going to leave this ticket open as an ongoing task, so that I can do a little at a time when I have a few minutes. If anyone feels like chipping in, please feel free.

Actions

Also available in: Atom PDF