WordPress.org

Make WordPress Core

Changeset 14255


Ignore:
Timestamp:
04/27/10 20:04:23 (5 years ago)
Author:
nacin
Message:

Have media default to 'all', not false, in wp_enqueue_style. props koopersmith, fixes #13056.

File:
1 edited

Legend:

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

    r12558 r14255  
    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') ) 
Note: See TracChangeset for help on using the changeset viewer.