Opened 19 years ago
Closed 19 years ago
#4607 closed enhancement (fixed)
ABSPATH already has a trailing slash
| Reported by: | Nazgul | Owned by: | Nazgul |
|---|---|---|---|
| Priority: | low | Milestone: | 2.3 |
| Component: | Optimization | Version: | 2.3 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5820]) ABSPATH already has a trailing slash. Props Nazgul. fixes #4607