#5797 closed enhancement (wontfix)
Dynamically generated asset handles not available to other plugins
Reported by: | boonebgorges | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Templates | Keywords: | |
Cc: |
Description
In r7205 (#4949) we introduced the concept of a "template stack" for CSS and JS assets. This means that the handle used when enqueuing the assets is dynamic. This causes problems when, in another plugin, you want to be able to make a script dependent on the BP scripts - it's not possible to tell (without reaching into the $wp_scripts
global) what the handle for the JS file is.
Might be nice to store the handles in the buddypress() object or something.
Change History (7)
Note: See
TracTickets for help on using
tickets.
#5972 needs fixing before this one.