Make WordPress Core

Changeset 32597


Ignore:
Timestamp:
05/25/2015 04:34:38 PM (9 years ago)
Author:
wonderboymusic
Message:

Cleanup the use of $wp_styles global in functions.wp-styles.php.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.wp-styles.php

    r32483 r32597  
    6262    }
    6363
    64     return wp_styles()->do_items( $handles );
     64    return $wp_styles->do_items( $handles );
    6565}
    6666
     
    153153 */
    154154function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) {
    155     global $wp_styles;
    156155    _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ );
    157156
     
    182181/**
    183182 * Check whether a CSS stylesheet has been added to the queue.
    184  *
    185  * @global WP_Styles $wp_styles The WP_Styles object for printing styles.
    186183 *
    187184 * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.