[wp-trac] [WordPress Trac] #34321: Embed service CSS does not load in src if WP_DEBUG is not set

WordPress Trac noreply at wordpress.org
Fri Oct 16 06:20:08 UTC 2015


#34321: Embed service CSS does not load in src if WP_DEBUG is not set
---------------------------+------------------
 Reporter:  peterwilsoncc  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.4
Component:  Embeds         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------

Comment (by swissspidy):

 `SCRIPT_DEBUG` works for scripts and styles and should be used
 accordingly. So let's replace the `WP_DEBUG` check with `SCRIPT_DEBUG` in
 `print_oembed_embed_styles()`.

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


More information about the wp-trac mailing list