Administration: Bring the update nag in line with other admin notices.
In addition to more consistent display, this gives it a visible border on the About page. Props desrosj, nikhilbhansi, afercia, SergeyBiryukov. Fixes #50372. Built from https://develop.svn.wordpress.org/trunk@48316 git-svn-id: http://core.svn.wordpress.org/trunk@48085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6496c61741
commit
201c7fbf97
|
@ -1567,11 +1567,7 @@ div.error {
|
|||
line-height: 1.4;
|
||||
padding: 11px 15px;
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
margin: 25px 2px 0 20px;
|
||||
background-color: #fff;
|
||||
border-right: 4px solid #ffba00;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
ul#dismissed-updates {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1566,11 +1566,7 @@ div.error {
|
|||
line-height: 1.4;
|
||||
padding: 11px 15px;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
margin: 25px 20px 0 2px;
|
||||
background-color: #fff;
|
||||
border-left: 4px solid #ffba00;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
ul#dismissed-updates {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -703,7 +703,7 @@ function site_admin_notice() {
|
|||
}
|
||||
|
||||
if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) {
|
||||
echo "<div class='update-nag'>" . sprintf(
|
||||
echo "<div class='update-nag notice notice-warning inline'>" . sprintf(
|
||||
/* translators: %s: URL to Upgrade Network screen. */
|
||||
__( 'Thank you for Updating! Please visit the <a href="%s">Upgrade Network</a> page to update all your sites.' ),
|
||||
esc_url( network_admin_url( 'upgrade.php' ) )
|
||||
|
|
|
@ -318,7 +318,8 @@ function update_nag() {
|
|||
$cur->current
|
||||
);
|
||||
}
|
||||
echo "<div class='update-nag'>$msg</div>";
|
||||
|
||||
echo "<div class='update-nag notice notice-warning inline'>$msg</div>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -764,7 +765,7 @@ function maintenance_nag() {
|
|||
$msg = __( 'An automated WordPress update has failed to complete! Please notify the site administrator.' );
|
||||
}
|
||||
|
||||
echo "<div class='update-nag'>$msg</div>";
|
||||
echo "<div class='update-nag notice notice-warning inline'>$msg</div>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-48315';
|
||||
$wp_version = '5.5-alpha-48316';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue