Opened 14 months ago
Last modified 14 months ago
#1496 new enhancement
More Flexible JS/CSS enqueue paths
| Reported by: | bigdawggi | Owned by: | YaaL |
|---|---|---|---|
| Priority: | normal | Component: | yet-another-advanced-paged-navigation |
| Severity: | normal | Keywords: | wp_enqueue_script, wp_enqueue_style, paths |
| Cc: |
Description
Installed the plugin on a client's site who's wp-content directory is not in a standard location. The string search and replacement that plugins_url() uses is pretty brittle and could not handle this case. I'm attaching a diff that allows the path for JS and CSS assets to be a little more flexible to support this non-standard location.
Attachments (1)
Change History (2)
Changed 14 months ago by bigdawggi
comment:1 Changed 14 months ago by bigdawggi
- Type changed from defect to enhancement
Note: See
TracTickets for help on using
tickets.
