[wp-trac] [WordPress Trac] #36791: Set load order when enqueuing scripts and styles
WordPress Trac
noreply at wordpress.org
Mon May 9 18:42:33 UTC 2016
#36791: Set load order when enqueuing scripts and styles
-------------------------+-----------------------------
Reporter: logistiker | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I've implemented a patch and associated unit tests to add the ability to
set the offset within the style or script queue when enqueuing styles or
scripts. This will allow a developer to prioritize or set a strict order
in which the stylesheets and/or scripts should load. This new
functionality is optional and so all current code will continue to
function as it always has.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36791>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list