Admin notices go UNDER the H2
git-svn-id: https://develop.svn.wordpress.org/trunk@9569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
823767f59d
commit
a865222300
@ -10,6 +10,11 @@ jQuery(document).ready( function() {
|
||||
if ( ( 'undefined' != typeof wpAjax ) && jQuery.isFunction( wpAjax.validateForm ) ) {
|
||||
jQuery('form.validate').submit( function() { return wpAjax.validateForm( jQuery(this) ); } );
|
||||
}
|
||||
|
||||
// Move .updated and .error alert boxes
|
||||
jQuery('div.wrap h2 ~ div.updated, div.wrap h2 ~ div.error').addClass('below-h2');
|
||||
jQuery('div.updated, div.error').not('.below-h2').insertAfter('div.wrap h2:first');
|
||||
|
||||
});
|
||||
|
||||
// stub for doing better warnings
|
||||
|
@ -1931,10 +1931,6 @@ p.search-box {
|
||||
margin: -5px 0 0;
|
||||
}
|
||||
|
||||
#wpbody-content .nosubsub h2 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
@ -41,7 +41,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->base_url = $guessurl;
|
||||
$scripts->default_version = get_bloginfo( 'version' );
|
||||
|
||||
$scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'user-settings', 'menu'), '20081013' );
|
||||
$scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'user-settings', 'menu'), '20081107' );
|
||||
$scripts->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' );
|
||||
|
||||
$scripts->add( 'quicktags', '/wp-includes/js/quicktags.js', false, '20081103' );
|
||||
@ -328,7 +328,7 @@ function wp_default_styles( &$styles ) {
|
||||
|
||||
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie' );
|
||||
|
||||
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081106' );
|
||||
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081107' );
|
||||
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
||||
|
||||
$styles->add( 'ie', '/wp-admin/css/ie.css' );
|
||||
|
Loading…
Reference in New Issue
Block a user