Opened 17 years ago
Closed 17 years ago
#4607 closed enhancement (fixed)
ABSPATH already has a trailing slash
Reported by: | Nazgul | Owned by: | Nazgul |
---|---|---|---|
Milestone: | 2.3 | Priority: | low |
Severity: | normal | Version: | 2.3 |
Component: | Optimization | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The following (pseudo)code occurs a couple of times in the codebase.
include(ABSPATH . '/something.php')
But because ABSPATH by default already has a trailing slash, the extra slash is not needed.
I've made a patch which removes those extra slashes where needed.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [5820]) ABSPATH already has a trailing slash. Props Nazgul. fixes #4607