mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
2e1aaeb2c5
commit
24537164ff
@ -60,7 +60,6 @@ function display_header() {
|
||||
<title><?php _e( 'WordPress › Installation' ); ?></title>
|
||||
<?php
|
||||
wp_admin_css( 'install', true );
|
||||
wp_admin_css( 'buttons', true );
|
||||
?>
|
||||
</head>
|
||||
<body<?php if ( is_rtl() ) echo ' class="rtl"'; ?>>
|
||||
|
@ -18,7 +18,6 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
<title><?php _e( 'WordPress › Database Repair' ); ?></title>
|
||||
<?php
|
||||
wp_admin_css( 'install', true );
|
||||
wp_admin_css( 'buttons', true );
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user