diff options
Diffstat (limited to 'wp-includes/pluggable.php')
-rw-r--r-- | wp-includes/pluggable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 1c9c111..b15b3fa 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -287,7 +287,7 @@ function check_admin_referer($action = -1) { $adminurl = strtolower(get_option('siteurl')).'/wp-admin'; $referer = strtolower(wp_get_referer()); if ( !wp_verify_nonce($_REQUEST['_wpnonce'], $action) && - !(-1 == $action && strstr($referer, $adminurl)) ) { + !(-1 == $action && strpos($referer, $adminurl) !== false)) { wp_nonce_ays($action); die(); } |