diff --git a/includes/oauth/class-google-login.php b/includes/oauth/class-google-login.php index e3d4cdde9..dd12031ac 100644 --- a/includes/oauth/class-google-login.php +++ b/includes/oauth/class-google-login.php @@ -123,7 +123,7 @@ public static function oauth_callback() { if ( ! wp_verify_nonce( sanitize_text_field( $_GET[ self::AUTH_CALLBACK ] ), self::AUTH_CALLBACK ) ) { /* translators: %s is a unique user id */ - sprintf( __( 'Nonce verification failed for id: %s', 'newspack-plugin' ), OAuth::get_unique_id() ); + self::handle_error( sprintf( __( 'Nonce verification failed for id: %s', 'newspack-plugin' ), OAuth::get_unique_id() ) ); wp_die( esc_html__( 'Invalid nonce.', 'newspack-plugin' ) ); return; }