[wp-trac] [WordPress Trac] #33471: wp_enqueue_style() doesn't register it in parallel wp_enqueue_scripts

WordPress Trac noreply at wordpress.org
Wed Sep 23 19:15:30 UTC 2015


#33471: wp_enqueue_style() doesn't register it in parallel wp_enqueue_scripts
--------------------------+-----------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by Looimaster):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 What I was trying to say is that the script is "enqueued" but not
 "registered". Shouldn't it always be "registered" when it's already
 "enqueued"?

 I think it shouldn't be possible to enqueue something that isn't
 registered. My understanding is that the enqueuing function should first
 register a script and then enqueue it.

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


More information about the wp-trac mailing list