Make WordPress Core


Ignore:
Timestamp:
01/16/2015 01:10:39 AM (10 years ago)
Author:
wonderboymusic
Message:

Revert [31032], this did not get much love.

See #25277.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r31188 r31189  
    861861    }
    862862
    863     if ( ! empty( $wp_scripts->print_html ) ) {
     863    if ( !empty($wp_scripts->print_html) )
    864864        echo $wp_scripts->print_html;
    865     }
    866 
    867     if ( ! empty( $wp_scripts->print_after_html ) ) {
    868         if ( $wp_scripts->do_concat ) {
    869             echo "<script type='text/javascript'>\n";
    870             echo "/* <![CDATA[ */\n"; // not needed in HTML 5
    871             echo trim( $wp_scripts->print_after_html ) . "\n";
    872             echo "/* ]]> */\n";
    873             echo "</script>\n";
    874         } else {
    875             echo $wp_scripts->print_after_html;
    876         }
    877     }
    878865}
    879866
Note: See TracChangeset for help on using the changeset viewer.