[wp-trac] [WordPress Trac] #35873: wp_register_script grandchild level dependency not rendered

WordPress Trac noreply at wordpress.org
Sat Feb 20 20:41:46 UTC 2016


#35873: wp_register_script grandchild level dependency not rendered
-------------------------------------------------+-------------------------
 Reporter:  Dima Stefantsov                      |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.5
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:  javascript
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:11 ocean90]:

 [attachment:35873.4.patch] looks good. That code is meant to reduce the
 "group number" when there is a recursion and the dependency has higher
 "group number", so dependencies are always printed before the main script.

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


More information about the wp-trac mailing list