Changeset 50947
- Timestamp:
- 05/21/2021 10:48:53 AM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r50786 r50947 1588 1588 array( 1589 1589 'code' => 'scrape_nonce_failure', 1590 'message' => __( 'Scrape noncecheck failed. Please try again.' ),1590 'message' => __( 'Scrape key check failed. Please try again.' ), 1591 1591 ) 1592 1592 ); -
trunk/src/wp-includes/pluggable.php
r50792 r50947 1177 1177 function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { 1178 1178 if ( -1 === $action ) { 1179 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonceaction to be verified by using the first parameter.' ), '3.2.0' );1179 _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '3.2.0' ); 1180 1180 } 1181 1181 … … 1222 1222 function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { 1223 1223 if ( -1 == $action ) { 1224 _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonceaction to be verified by using the first parameter.' ), '4.7' );1224 _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7' ); 1225 1225 } 1226 1226 -
trunk/src/wp-includes/rest-api.php
r50654 r50947 1013 1013 1014 1014 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 ) ); 1016 1016 } 1017 1017
Note: See TracChangeset
for help on using the changeset viewer.