[buddypress-trac] [BuddyPress Trac] #6083: Perhaps split up classes in existing component-class.php to separate files
buddypress-trac
noreply at wordpress.org
Sun Feb 15 00:48:57 UTC 2015
#6083: Perhaps split up classes in existing component-class.php to separate files
--------------------------------------+---------------------
Reporter: DJPaul | Owner: DJPaul
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.3
Component: Tools - Code Improvement | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------------------+---------------------
Changes (by djpaul):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9485"]:
{{{
#!CommitTicketReference repository="" revision="9485"
Split each component's classes file, and move each individual class into
its own file.
While historically manageable, the previous approach of having the
majority of each component's classes in the same file is growing unwieldly
with each new version of BuddyPress, and causing an avoidable increase in
code complexity.
The existing `-classes.php` files are now a loading wrapper for the
components' classes.
This change only affect classes that were explicitly declared within the
`-classes.php` files. Any other classes, for example those in some
components' template functions files, remain untouched for now.
Fixes #6083
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6083#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list