Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2020 closed defect (fixed)

Break up extend/buddypress.php into more reasonable component files

Reported by: jmdodd Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version: trunk
Component: Extend - BuddyPress Keywords: has-patch dev-feedback
Cc:

Description

extend/buddypress.php is a conglomeration of classes for dealing with all bbPress-BuddyPress interactions, including the Activity and Group components, as well as general URL mappers and overrides. Break it into a file structure to allow for an easier developer experience.

Attachments (1)

2020.diff (151.7 KB) - added by jmdodd 9 years ago.
File re-org, index.php added.

Download all attachments as: .zip

Change History (5)

@jmdodd
9 years ago

File re-org, index.php added.

#1 @jmdodd
9 years ago

  • Keywords has-patch dev-feedback added

I do not have much experience adding/deleting files from SVN in a diff; please let me know if this needs to be altered.

When splitting out BBP_BuddyPress_Activity from BBP_BuddyPress, I ended up adding BBP_Buddypress->setup_components() to instantiate BBP_BuddyPress_Activity.

#2 @johnjamesjacoby
9 years ago

  • Milestone changed from 2.3 to 2.2

Awesome stuff. I'm moving this into 2.2 to remember to look at it asap. Would fit nicely with the file structure reorg.

#3 @johnjamesjacoby
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4394]) BuddyPress:

  • Split buddypress.php up into more manageable parts.
  • Props jmdodd.
  • Fixes #2020.

#4 @johnjamesjacoby
9 years ago

(In [4397]) BuddyPress:

  • Remove component.php, and consolidate into loader.php.
  • Introduce members.php, for modifying bbPress profile links.
  • Rename loading class and references where appropriate.
  • See #2020.
Note: See TracTickets for help on using tickets.