[buddypress-trac] [BuddyPress Trac] #5702: __DIR__ predefined constant in gruntified trunk loader
buddypress-trac
noreply at wordpress.org
Tue Jun 10 15:04:51 UTC 2014
#5702: __DIR__ predefined constant in gruntified trunk loader
--------------------------+-----------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Core | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------
WordPress PHP min required version is 5.2.4 and the {{{__DIR__}}} was
introduced in 5.3. As a result using WordPress min required version with
trunk fails to load BuddyPress.
This is probably an edge case, but i think it would be best to use
dirname( __FILE__ ) to be consistent with WordPress PHP min required
version.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5702>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list