Changeset 56873 for branches/5.1/src/wp-includes/rest-api.php
- Timestamp:
- 10/12/2023 03:02:41 PM (2 years ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
- Property svn:mergeinfo changed
/trunk merged: 56833-56836,56838
- Property svn:mergeinfo changed
-
branches/5.1/src/wp-includes/rest-api.php
r46490 r56873 827 827 828 828 if ( ! $result ) { 829 add_filter( 'rest_send_nocache_headers', '__return_true', 20 ); 829 830 return new WP_Error( 'rest_cookie_invalid_nonce', __( 'Cookie nonce is invalid' ), array( 'status' => 403 ) ); 830 831 }
Note: See TracChangeset
for help on using the changeset viewer.