Buttons: make install.css depend on buttons.css (so button styles are always loaded), see #21598

git-svn-id: http://core.svn.wordpress.org/trunk@22327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2012-10-30 16:28:13 +00:00
parent 2e1aaeb2c5
commit 24537164ff
3 changed files with 1 additions and 3 deletions

View File

@ -60,7 +60,6 @@ function display_header() {
<title><?php _e( 'WordPress &rsaquo; Installation' ); ?></title>
<?php
wp_admin_css( 'install', true );
wp_admin_css( 'buttons', true );
?>
</head>
<body<?php if ( is_rtl() ) echo ' class="rtl"'; ?>>

View File

@ -18,7 +18,6 @@ header( 'Content-Type: text/html; charset=utf-8' );
<title><?php _e( 'WordPress &rsaquo; Database Repair' ); ?></title>
<?php
wp_admin_css( 'install', true );
wp_admin_css( 'buttons', true );
?>
</head>
<body>

View File

@ -530,7 +530,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array('wp-admin', 'buttons') );
$styles->add( 'media', "/wp-admin/css/media$suffix.css" );
$styles->add( 'install', "/wp-admin/css/install$suffix.css" );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array('buttons') );
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css' );
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
$styles->add( 'wp-color-picker', "/wp-admin/css/color-picker$suffix.css" );