[wp-trac] [WordPress Trac] #15843: Fix dependencies so scripts are concatenated
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 22 23:50:37 UTC 2010
#15843: Fix dependencies so scripts are concatenated
--------------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.1
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------------+------------------
Comment (by nacin):
So, as westi found, it's not dependencies. #blamenacin
Two options for 3.1:
- Leave this as is for 3.1. It doesn't look like anything is breaking.
(But we should confirm.)
- Enqueue earlier on the pages we need. If we don't need it (plugin
actually not used, etc), then we don't need it and it's a little extra
being included in the load-scripts call. Better than the five extra HTTP
requests I think.
I like # 2, personally. Will look further.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15843#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list