• This issue is causing template function is_404 to return false, which might result in some problems.

    In my case it’s notice inside breadcrumbs, cause it didn’t realize we are on 404 and failed to populate it correctly.

    It should include something like that or similar before / after status_header(404);

    global $wp_query;

    if ( !is_object( $wp_query ) ) {
    $wp_query = new WP_Query();
    }
    $wp_query->is_404 = true;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @fliespl,

    Thanks for reporting this.

    We currently have a bug report for this and the developers are aware. I don’t currently have a timeline for a fix, but the case report number is 8819.

    Please let us know if anything else comes up.

    Thanks,

    Gerroald

    Hey @fliespl,

    I just wanted to let you know that this will be fixed in the next release. I don’t have an exact timeline, but the developers have confirmed it.

    Thanks,

    Gerroald

    Thanks for quick response and working on it! ??

    Wordfence is awesome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_query status not set during preventAuthorNScans’ is closed to new replies.