Opened 12 years ago
Closed 12 years ago
#5702 closed defect (bug) (fixed)
__DIR__ predefined constant in gruntified trunk loader
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Core | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I just marked #5658 as a duplicate.
I think this is good to go.