Opened 21 years ago
Closed 21 years ago
#1196 closed defect (bug) (fixed)
__FILE__ inclusion in add_submenu_page fails on Windows
| Reported by: | jminard | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
When a plugin uses FILE to reference itself in the add_options_page() function, it will fail on a windows installation.
The url ends up looking something like:
http://hq.servequake.com/wp15/wp-admin/C:%5Cxampp%5Chtdocs%5Cwp15%5Cwp-content%5Cplugins%5Cfeedwordpress.phps
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)
Already fixed in 1.5.1.
http://trac.wordpress.org/changeset/2381 []
See the changes to plugin_basename(). It assumed unix style slashes, neglecting windows backslashes.