#9561 closed enhancement (fixed)
plugins_dir() and plugins_basename() should also work for plugins in the MU plugins dir
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Plugins | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch tested |
| Cc: | Focuses: |
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
@
18 years ago
- Resolution fixed
- Status closed → 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.
12 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1 This looks like a good idea to me.