Changeset 56857 for branches/4.5/src/wp-includes/rest-api.php
- Timestamp:
- 10/12/2023 02:34:12 PM (2 years ago)
- File:
-
- 1 edited
-
branches/4.5/src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5/src/wp-includes/rest-api.php
r46497 r56857 593 593 594 594 if ( ! $result ) { 595 add_filter( 'rest_send_nocache_headers', '__return_true', 20 ); 595 596 return new WP_Error( 'rest_cookie_invalid_nonce', __( 'Cookie nonce is invalid' ), array( 'status' => 403 ) ); 596 597 }
Note: See TracChangeset
for help on using the changeset viewer.