[buddypress-trac] [BuddyPress Trac] #6083: Perhaps split up classes in existing component-class.php to separate files

buddypress-trac noreply at wordpress.org
Wed Feb 18 00:42:42 UTC 2015


#6083: Perhaps split up classes in existing component-class.php to separate files
--------------------------------------+-----------------------
 Reporter:  DJPaul                    |       Owner:  DJPaul
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  2.3
Component:  Tools - Code Improvement  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:                            |
--------------------------------------+-----------------------
Changes (by r-a-y):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The `__DIR__` constant is only available in PHP 5.3+.

 Since we brought back PHP 5.2 to our unit test builds in r9504, this is
 causing an issue with our tests failing in PHP 5.2.

 Perhaps switch out `__DIR__` with `BP_PLUGIN_DIR`?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6083#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list