Changeset 17386 for branches/3.1
- Timestamp:
- 02/03/2011 08:42:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/pluggable.php
r17227 r17386 836 836 $referer = strtolower(wp_get_referer()); 837 837 $result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false; 838 if ( !$result && !(-1 == $action && strpos($referer, $adminurl) !== false) ) {838 if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) { 839 839 wp_nonce_ays($action); 840 840 die();
Note: See TracChangeset
for help on using the changeset viewer.