Make WordPress Core

Changeset 16729


Ignore:
Timestamp:
12/05/2010 03:01:42 AM (14 years ago)
Author:
nacin
Message:

Fix notice. props vericgar, fixes #11976.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r16701 r16729  
    312312wp_enqueue_style( 'colors' );
    313313// Check callback name for 'media'
    314 if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, 'media' ) )
     314if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) )
     315    || ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) )
    315316    wp_enqueue_style( 'media' );
    316317wp_enqueue_style( 'ie' );
Note: See TracChangeset for help on using the changeset viewer.