Have media default to 'all', not false, in wp_enqueue_style. props koopersmith, fixes #13056.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2afc14810f
commit
9d7ec92745
|
@ -93,7 +93,7 @@ function wp_deregister_style( $handle ) {
|
|||
* if a version number is available and makes sense for the stylesheet.
|
||||
* @param string $media The media for which this stylesheet has been defined.
|
||||
*/
|
||||
function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = false ) {
|
||||
function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) {
|
||||
global $wp_styles;
|
||||
if ( !is_a($wp_styles, 'WP_Styles') )
|
||||
$wp_styles = new WP_Styles();
|
||||
|
|
Loading…
Reference in New Issue