[buddypress-trac] [BuddyPress Trac] #5797: Dynamically generated asset handles not available to other plugins
buddypress-trac
noreply at wordpress.org
Tue Aug 5 20:53:49 UTC 2014
#5797: Dynamically generated asset handles not available to other plugins
--------------------------+-----------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Core | Version:
Severity: normal | Keywords:
--------------------------+-----------------
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5797>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list