WordPress.org

Make WordPress Core

Ticket #11976: wordpress.diff

File wordpress.diff, 748 bytes (added by vericgar, 4 years ago)
  • wp-admin/includes/media.php

     
    307307wp_enqueue_style( 'wp-admin' ); 
    308308wp_enqueue_style( 'colors' ); 
    309309// Check callback name for 'media' 
    310 if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, 'media' ) ) 
     310if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) ||  
     311        ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) ) 
    311312        wp_enqueue_style( 'media' ); 
    312313wp_enqueue_style( 'ie' ); 
    313314?>