diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/authorize-application.php --- a/wp/wp-admin/authorize-application.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/authorize-application.php Fri Sep 05 18:40:08 2025 +0200 @@ -137,9 +137,16 @@

- -

get_error_message(); ?>

- + get_error_message(), + array( + 'type' => 'error', + ) + ); + } + ?>

@@ -194,24 +201,25 @@ } ?> - -
-

- - -

-

-
+ + + +

+

' . __( '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 ); - -
@@ -250,8 +258,8 @@ * The array of request data. All arguments are optional and may be empty. * * @type string $app_name The suggested name of the application. - * @type string $success_url The url the user will be redirected to after approving the application. - * @type string $reject_url The url the user will be redirected to after rejecting the application. + * @type string $success_url The URL the user will be redirected to after approving the application. + * @type string $reject_url The URL the user will be redirected to after rejecting the application. * } * @param WP_User $user The user authorizing the application. */