In print_admin_styles()
, $zip
is never used after being set. $compress_css
does not need to be imported.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28336 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b62ca9c298
commit
b99dead052
@ -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);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user