Make WordPress Core

Ticket #32541: 32541.1.patch

File 32541.1.patch, 432 bytes (added by Frozzare, 10 years ago)

Fixed so a new instance of WP_Styles will be created if missing

  • src/wp-includes/functions.wp-styles.php

     
    5959                if ( ! $handles ) {
    6060                        return array(); // No need to instantiate if nothing is there.
    6161                }
     62
     63                $wp_styles = new WP_Styles();
    6264        }
    6365
    6466        return $wp_styles->do_items( $handles );