Fix notice. props vericgar, fixes #11976.
git-svn-id: https://develop.svn.wordpress.org/trunk@16729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
250e2876de
commit
d6ae552b4e
|
@ -311,7 +311,8 @@ wp_enqueue_style( 'global' );
|
||||||
wp_enqueue_style( 'wp-admin' );
|
wp_enqueue_style( 'wp-admin' );
|
||||||
wp_enqueue_style( 'colors' );
|
wp_enqueue_style( 'colors' );
|
||||||
// Check callback name for 'media'
|
// 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( 'media' );
|
||||||
wp_enqueue_style( 'ie' );
|
wp_enqueue_style( 'ie' );
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue