#5665 closed defect (bug) (fixed)
plugin_basename() should use PLUGINDIR constant
| Reported by: | hansengel | Owned by: | hansengel |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
Description
In wp-includes/plugin.php, the function plugin_basename() does not use the constant PLUGINDIR. Instead, it explicitly declares wp-content/plugins as the plugin directory. This should be changed so when the plugin directory is not at its default location, plugin_basename() will still work.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
plugin_basename() now uses the PLUGINDIR constant