Feature #2157
closedReorganize bp-custom.php
0%
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.