mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@48316 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user