mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
Fix notice. props vericgar, fixes #11976.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d0098e51bb
commit
fed2907095
@ -311,7 +311,8 @@ wp_enqueue_style( 'global' );
|
||||
wp_enqueue_style( 'wp-admin' );
|
||||
wp_enqueue_style( 'colors' );
|
||||
// Check callback name for 'media'
|
||||
if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, 'media' ) )
|
||||
if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) )
|
||||
|| ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) )
|
||||
wp_enqueue_style( 'media' );
|
||||
wp_enqueue_style( 'ie' );
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user