WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r17387 r15149  
    826826    $referer = strtolower(wp_get_referer());
    827827    $result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false;
    828     if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) {
     828    if ( !$result && !(-1 == $action && strpos($referer, $adminurl) !== false) ) {
    829829        wp_nonce_ays($action);
    830830        die();
Note: See TracChangeset for help on using the changeset viewer.