Make WordPress Core

Ticket #34321: 34321.diff

File 34321.diff, 759 bytes (added by MikeHansenMe, 10 years ago)
  • src/wp-includes/embed-functions.php

     
    810810        ?>
    811811        <style type="text/css">
    812812        <?php
    813                 if ( WP_DEBUG ) {
     813                if ( SCRIPT_DEBUG ) {
    814814                        readfile( ABSPATH . WPINC . "/css/wp-oembed-embed.css" );
    815815                } else {
    816816                        /*
     
    820820                         * readfile() method from above.
    821821                         *
    822822                         * If you're looking at a build version of this file, you'll see a string of
    823                          * minified CSS. If you need to debug it, please turn on WP_DEBUG
     823                         * minified CSS. If you need to debug it, please turn on SCRIPT_DEBUG
    824824                         * and edit wp-oembed-embed.css directly.
    825825                         */
    826826                        ?>