Changeset 35323 for trunk/src/wp-includes/rest-api/rest-functions.php
- Timestamp:
- 10/21/2015 08:13:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/rest-functions.php
r35274 r35323 576 576 $nonce = null; 577 577 578 if ( isset( $_REQUEST['_wp _rest_nonce'] ) ) {579 $nonce = $_REQUEST['_wp _rest_nonce'];578 if ( isset( $_REQUEST['_wpnonce'] ) ) { 579 $nonce = $_REQUEST['_wpnonce']; 580 580 } elseif ( isset( $_SERVER['HTTP_X_WP_NONCE'] ) ) { 581 581 $nonce = $_SERVER['HTTP_X_WP_NONCE'];
Note: See TracChangeset
for help on using the changeset viewer.