Opened 15 years ago
Closed 15 years ago
#17167 closed enhancement (duplicate)
require() path consistency
| Reported by: | niallkennedy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
I see relative require paths built as both './wp-load.php' and dirname( __FILE__ ) . '/wp-load.php' inside PHP files at the project root. Pick one for consistency?
Attached is a patch for wp-activate showing an example of the two path references within a few lines of each other.
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
two types of require paths