Opened 11 years ago
Closed 11 years ago
#5702 closed defect (bug) (fixed)
__DIR__ predefined constant in gruntified trunk loader
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch commit |
Cc: |
Description (last modified by )
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.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I just marked #5658 as a duplicate.
I think this is good to go.