mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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
This commit is contained in:
@@ -774,9 +774,9 @@ function wp_default_styles( &$styles ) {
|
||||
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array( 'dashicons' ) );
|
||||
|
||||
// Deprecated CSS
|
||||
$styles->add( 'media', "/wp-admin/css/deprecated-media$suffix.css" );
|
||||
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
|
||||
$styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' );
|
||||
$styles->add( 'deprecated-media', "/wp-admin/css/deprecated-media$suffix.css" );
|
||||
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
|
||||
$styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' );
|
||||
$styles->add( 'colors-fresh', false, array( 'wp-admin', 'buttons' ) ); // Old handle.
|
||||
|
||||
// RTL CSS
|
||||
@@ -789,7 +789,7 @@ function wp_default_styles( &$styles ) {
|
||||
'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
|
||||
'wp-jquery-ui-dialog',
|
||||
// deprecated
|
||||
'media', 'farbtastic',
|
||||
'deprecated-media', 'farbtastic',
|
||||
);
|
||||
|
||||
foreach ( $rtl_styles as $rtl_style ) {
|
||||
|
||||
Reference in New Issue
Block a user