Project

General

Profile

Feature #2157

Reorganize bp-custom.php

Added by Boone Gorges over 6 years ago. Updated about 3 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

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.

History

#1 Updated by Boone Gorges over 6 years ago

  • Status changed from New to Assigned

#2 Updated by Boone Gorges almost 5 years ago

  • Tracker changed from Bug to Feature
  • Category name set to BuddyPress (misc)
  • Target version changed from Future release to Not tracked

#3 Updated by Boone Gorges about 3 years ago

  • Status changed from Assigned to Resolved

A bunch of this has already been done, so I'm going to mark the ticket as Resolved.

Also available in: Atom PDF