#5665 closed defect (bug) (fixed)
plugin_basename() should use PLUGINDIR constant
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch needs-testing |
| Cc: |
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.
plugin_basename() now uses the PLUGINDIR constant