In print_admin_styles(), $zip is never used after being set. $compress_css does not need to be imported.

See #27882.

Built from https://develop.svn.wordpress.org/trunk@28336


git-svn-id: http://core.svn.wordpress.org/trunk@28164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-07 03:47:14 +00:00
parent 1ef3438961
commit cca9ff329b

View File

@ -918,17 +918,13 @@ function wp_enqueue_scripts() {
* @since 2.8.0
*/
function print_admin_styles() {
global $wp_styles, $concatenate_scripts, $compress_css;
global $wp_styles, $concatenate_scripts;
if ( !is_a($wp_styles, 'WP_Styles') )
$wp_styles = new WP_Styles();
script_concat_settings();
$wp_styles->do_concat = $concatenate_scripts;
$zip = $compress_css ? 1 : 0;
if ( $zip && defined('ENFORCE_GZIP') && ENFORCE_GZIP )
$zip = 'gzip';
$wp_styles->do_items(false);
/**