WordPress.org

Make WordPress Core

Ticket #13056: 13056.1.patch

File 13056.1.patch, 695 bytes (added by koopersmith, 5 years ago)
  • wp-includes/functions.wp-styles.php

     
    9393 *  if a version number is available and makes sense for the stylesheet. 
    9494 * @param string $media The media for which this stylesheet has been defined. 
    9595 */ 
    96 function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = false ) { 
     96function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) { 
    9797        global $wp_styles; 
    9898        if ( !is_a($wp_styles, 'WP_Styles') ) 
    9999                $wp_styles = new WP_Styles();