diff --git a/admin.php b/admin.php index af2f259..8f9dfe8 100644 --- a/admin.php +++ b/admin.php @@ -84,10 +84,10 @@ function rest_oauth1_profile_messages() { } if ( ! empty( $_GET['rest_oauth1_revoked'] ) ) { - printf( '
%s
%s
%s
%s
%s
', - esc_html( __( 'You are not allowed to delete this application.', 'rest_oauth1' ) ), - esc_html( __( 'An error has occurred.', 'rest_oauth1' ) ) + esc_html__( 'You are not allowed to delete this application.', 'rest_oauth1' ), + esc_html__( 'An error has occurred.', 'rest_oauth1' ) ), '', array( 'response' => (int) $code ) @@ -444,8 +444,8 @@ public static function handle_delete() { wp_die( sprintf( '%s
', - esc_html( __( 'An error has occurred.', 'rest_oauth1' ) ), - esc_html( __( 'Invalid consumer ID', 'rest_oauth1' ) ) + esc_html__( 'An error has occurred.', 'rest_oauth1' ), + esc_html__( 'Invalid consumer ID', 'rest_oauth1' ) ), '', array( 'response' => (int) $code ) @@ -472,8 +472,8 @@ public static function handle_regenerate() { wp_die( sprintf( '%s
', - esc_html( __( 'An error has occurred.', 'rest_oauth1' ) ), - esc_html( __( 'You are not allowed to edit this application.', 'rest_oauth1' ) ) + esc_html__( 'An error has occurred.', 'rest_oauth1' ), + esc_html__( 'You are not allowed to edit this application.', 'rest_oauth1' ) ), '', array( 'response' => (int) $code )