Make WordPress Core


Ignore:
Timestamp:
03/06/2016 03:37:25 PM (9 years ago)
Author:
afercia
Message:

CSS: Rename the handle for deprecated-media.css after [36341].

The media handle is now used for media.css thus the stylesheet
for the old media UI needs a different handle name.

See #35229.

File:
1 edited

Legend:

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

    r36232 r36869  
    456456if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) )
    457457    || ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) )
    458     wp_enqueue_style( 'media' );
     458    wp_enqueue_style( 'deprecated-media' );
    459459wp_enqueue_style( 'ie' );
    460460?>
Note: See TracChangeset for help on using the changeset viewer.