[wp-trac] [WordPress Trac] #21134: Registering and enqueueing on the same action can cause enqueueing to happen before registering

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 2 23:16:24 UTC 2012


#21134: Registering and enqueueing on the same action can cause enqueueing to
happen before registering
--------------------------+------------------------------
 Reporter:  nbachiyski    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:3 azaozz]:
 > ... add the default scripts later (at init 20?)

 No, that has to be early on 'init', as it currently is. Otherwise
 deregistering default scripts will break for many plugins.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21134#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list