[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
Thu Oct 15 21:44:05 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:  Awaiting Review
Component:  General        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Running `wordpress-develop.dev` from the source directory does not load
 the CSS in the iframe is `WP_DEBUG` is not set to true.

 Possible solutions:

 * the condition in `print_oembed_embed_styles` requires a check for
 $develop_src
 * the `WP_DEBUG` default should be do a check similar to `SCRIPT_DEBUG`
 * new global: `STYLE_DEBUG`

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


More information about the wp-trac mailing list