Changeset 33017
- Timestamp:
- 07/01/2015 03:36:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r32969 r33017 1092 1092 $referer = strtolower(wp_get_referer()); 1093 1093 $result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false; 1094 if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) {1095 wp_nonce_ays($action);1096 die();1097 }1098 1094 1099 1095 /** … … 1107 1103 */ 1108 1104 do_action( 'check_admin_referer', $action, $result ); 1105 1106 if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) { 1107 wp_nonce_ays( $action ); 1108 die(); 1109 } 1110 1109 1111 return $result; 1110 1112 }
Note: See TracChangeset
for help on using the changeset viewer.