Make WordPress Core


Ignore:
Timestamp:
05/07/2014 03:46:11 AM (10 years ago)
Author:
wonderboymusic
Message:

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

See #27882.

File:
1 edited

Legend:

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

    r28335 r28336  
    919919 */
    920920function print_admin_styles() {
    921     global $wp_styles, $concatenate_scripts, $compress_css;
     921    global $wp_styles, $concatenate_scripts;
    922922
    923923    if ( !is_a($wp_styles, 'WP_Styles') )
     
    926926    script_concat_settings();
    927927    $wp_styles->do_concat = $concatenate_scripts;
    928     $zip = $compress_css ? 1 : 0;
    929     if ( $zip && defined('ENFORCE_GZIP') && ENFORCE_GZIP )
    930         $zip = 'gzip';
    931 
    932928    $wp_styles->do_items(false);
    933929
Note: See TracChangeset for help on using the changeset viewer.