mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Revert [31032], this did not get much love.
See #25277. git-svn-id: https://develop.svn.wordpress.org/trunk@31189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -860,21 +860,8 @@ function _print_scripts() {
|
||||
echo "<script type='text/javascript' src='" . esc_attr($src) . "'></script>\n";
|
||||
}
|
||||
|
||||
if ( ! empty( $wp_scripts->print_html ) ) {
|
||||
if ( !empty($wp_scripts->print_html) )
|
||||
echo $wp_scripts->print_html;
|
||||
}
|
||||
|
||||
if ( ! empty( $wp_scripts->print_after_html ) ) {
|
||||
if ( $wp_scripts->do_concat ) {
|
||||
echo "<script type='text/javascript'>\n";
|
||||
echo "/* <![CDATA[ */\n"; // not needed in HTML 5
|
||||
echo trim( $wp_scripts->print_after_html ) . "\n";
|
||||
echo "/* ]]> */\n";
|
||||
echo "</script>\n";
|
||||
} else {
|
||||
echo $wp_scripts->print_after_html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user