[wp-trac] [WordPress Trac] #35956: Script's dependencies are always moved to header

WordPress Trac noreply at wordpress.org
Fri Feb 26 11:53:18 UTC 2016


#35956: Script's dependencies are always moved to header
------------------------------+------------------------
 Reporter:  stephenharris     |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  4.5
Component:  Script Loader     |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+------------------------

Comment (by gitlost):

 Looking at this again it's still going to fail if a dependency sets the
 `$this->group` to zero ahead of its (non-zero) sibling so I think saving
 and restoring the `$this->group` at each level is also needed. Perhaps.
 Maybe. I'll upload second versions...

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35956#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list