Default media type to all. Fixes #8000 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9479b4ed91
commit
21535e1cb8
|
@ -38,7 +38,7 @@ function wp_print_styles( $handles = false ) {
|
|||
* @since r79
|
||||
* @see WP_Styles::add() For parameter and additional information.
|
||||
*/
|
||||
function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = false ) {
|
||||
function wp_register_style( $handle, $src, $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