#9561 closed enhancement (fixed)
plugins_dir() and plugins_basename() should also work for plugins in the MU plugins dir
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Plugins | Keywords: | has-patch tested |
Focuses: | Cc: |
Description
r10737 introduces a sweet new feature, but if a plugin in there relies on plugin_dir_url() to auto-magically get its url in order to include styles and scripts, it won't work as expected.
Attachments (2)
Change History (7)
#3
@
16 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Since [11069] returns plugin_basename( dirname(FILE)) a slash at the beginning. If I'm not wrong then it's missing, see attached patch
This ticket was mentioned in IRC in #wordpress-dev by ericandrewlewis. View the logs.
11 years ago
Note: See
TracTickets for help on using
tickets.
+1 This looks like a good idea to me.