From b723d3fb75c9edd745a6d2a84c5b697535ce7fc1 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 6 Mar 2016 15:37:25 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@36869 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 2 +- src/wp-includes/script-loader.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 966860aea9..d9dd1e67cd 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -455,7 +455,7 @@ 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' ) ) || ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) ) - wp_enqueue_style( 'media' ); + wp_enqueue_style( 'deprecated-media' ); wp_enqueue_style( 'ie' ); ?>