Make WordPress Core


Ignore:
Timestamp:
05/21/2021 10:48:53 AM (8 months ago)
Author:
SergeyBiryukov
Message:

Text Changes: Improve the wording of some error messages.

Props dartiss, williampatton, johnbillion, SergeyBiryukov.
Fixes #50382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api.php

    r50654 r50947  
    10131013
    10141014    if ( ! $result ) {
    1015         return new WP_Error( 'rest_cookie_invalid_nonce', __( 'Cookie nonce is invalid' ), array( 'status' => 403 ) );
     1015        return new WP_Error( 'rest_cookie_invalid_nonce', __( 'Cookie check failed' ), array( 'status' => 403 ) );
    10161016    }
    10171017
Note: See TracChangeset for help on using the changeset viewer.