diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
index 7fa904ae1a..76a2aade70 100644
|
a
|
b
|
form#tags-filter { |
| 754 | 754 | padding-top: 8px; |
| 755 | 755 | } |
| 756 | 756 | |
| | 757 | .privacy-settings .update-nag, |
| | 758 | .site-health .update-nag { |
| | 759 | display: block; |
| | 760 | } |
| | 761 | |
| | 762 | .privacy-settings .update-nag { |
| | 763 | margin: 5px 15px 20px; |
| | 764 | } |
| | 765 | |
| 757 | 766 | .privacy-settings-tabs-wrapper { |
| 758 | 767 | /* IE 11 */ |
| 759 | 768 | display: -ms-inline-grid; |
diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php
index af5bd1abd4..6d83a8c20d 100644
|
a
|
b
|
function site_admin_notice() { |
| 708 | 708 | return; |
| 709 | 709 | } |
| 710 | 710 | |
| | 711 | $inline = ' inline'; |
| | 712 | $screen = get_current_screen(); |
| | 713 | |
| | 714 | if ( $screen && in_array( $screen->id, array( 'site-health', 'options-privacy' ), true ) ) { |
| | 715 | $inline = ''; |
| | 716 | } |
| | 717 | |
| 711 | 718 | if ( (int) get_site_option( 'wpmu_upgrade_site' ) !== $wp_db_version ) { |
| 712 | | echo "<div class='update-nag notice notice-warning inline'>" . sprintf( |
| | 719 | echo "<div class='update-nag notice notice-warning$inline'>" . sprintf( |
| 713 | 720 | /* translators: %s: URL to Upgrade Network screen. */ |
| 714 | 721 | __( 'Thank you for Updating! Please visit the <a href="%s">Upgrade Network</a> page to update all your sites.' ), |
| 715 | 722 | esc_url( network_admin_url( 'upgrade.php' ) ) |
diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php
index 8661af75b5..2281d03dfb 100644
|
a
|
b
|
function update_nag() { |
| 325 | 325 | ); |
| 326 | 326 | } |
| 327 | 327 | |
| 328 | | echo "<div class='update-nag notice notice-warning inline'>$msg</div>"; |
| | 328 | $inline = ' inline'; |
| | 329 | $screen = get_current_screen(); |
| | 330 | |
| | 331 | if ( $screen && in_array( $screen->id, array( 'site-health', 'options-privacy' ), true ) ) { |
| | 332 | $inline = ''; |
| | 333 | } |
| | 334 | |
| | 335 | echo "<div class='update-nag notice notice-warning$inline'>$msg</div>"; |
| 329 | 336 | } |
| 330 | 337 | |
| 331 | 338 | /** |
| … |
… |
function maintenance_nag() { |
| 857 | 864 | $msg = __( 'An automated WordPress update has failed to complete! Please notify the site administrator.' ); |
| 858 | 865 | } |
| 859 | 866 | |
| 860 | | echo "<div class='update-nag notice notice-warning inline'>$msg</div>"; |
| | 867 | $inline = ' inline'; |
| | 868 | $screen = get_current_screen(); |
| | 869 | |
| | 870 | if ( $screen && in_array( $screen->id, array( 'site-health', 'options-privacy' ), true ) ) { |
| | 871 | $inline = ''; |
| | 872 | } |
| | 873 | |
| | 874 | echo "<div class='update-nag notice notice-warning$inline'>$msg</div>"; |
| 861 | 875 | } |
| 862 | 876 | |
| 863 | 877 | /** |