diff --git a/src/wp-admin/_index.php b/src/wp-admin/_index.php index 7278cfbf37..de5cc21b8f 100644 --- a/src/wp-admin/_index.php +++ b/src/wp-admin/_index.php @@ -154,20 +154,21 @@ require_once ABSPATH . 'wp-admin/admin-header.php'; // Only show the dashboard notice if it's been less than a minute since the message was postponed. if ( $time_passed < MINUTE_IN_SECONDS ) : - ?> -
- -
-get_error_message(); ?>
- - -
- -' . __( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) . '
'; + $args = array( + 'type' => 'success', + 'additional_classes' => array( 'notice-alt', 'below-h2' ), + 'paragraph_wrap' => false, + ); + wp_admin_notice( $message, $args ); - -