[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 21:57:04 UTC 2015


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

Comment (by TobiasBg):

 From what I can see in the code of `wp_enqueue_style()`, the
 "registered=false, but enqueued=true" state can only happen if the `$src`
 parameter were `false`. In your example, that would mean that
 `get_stylesheet_uri()` returns `false`. Could that be the case?

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


More information about the wp-trac mailing list