Changeset 56871 for branches/5.0/src/wp-includes/rest-api.php
- Timestamp:
- 10/12/2023 02:59:28 PM (3 years ago)
- File:
-
- 1 edited
-
branches/5.0/src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/rest-api.php
r46492 r56871 813 813 814 814 if ( ! $result ) { 815 add_filter( 'rest_send_nocache_headers', '__return_true', 20 ); 815 816 return new WP_Error( 'rest_cookie_invalid_nonce', __( 'Cookie nonce is invalid' ), array( 'status' => 403 ) ); 816 817 }
Note: See TracChangeset
for help on using the changeset viewer.