Make WordPress Core

Ticket #32118: 32118-3.diff

File 32118-3.diff, 553 bytes (added by Craig Ralston, 10 years ago)

correcting spacing from 32118-2.diff

  • wp-includes/formatting.php

     
    41414141
    41424142        $version = 'ver=' . $wp_version;
    41434143
    4144         if ( SCRIPT_DEBUG ) {
     4144        if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
    41454145                $settings['source'] = array(
    41464146                        /** This filter is documented in wp-includes/class.wp-scripts.php */
    41474147                        'wpemoji' => apply_filters( 'script_loader_src', includes_url( "js/wp-emoji.js?$version" ), 'wpemoji' ),