Skip to:
Content

bbPress.org

Changeset 4256


Ignore:
Timestamp:
10/19/2012 06:03:06 AM (14 years ago)
Author:
johnjamesjacoby
Message:

User Profiles:

  • In theme compat, force the header status back to 200 if not deliberately set to 404.
  • Fixes #1973.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/core/theme-compat.php

    r4249 r4256  
    412412        $wp_query->is_tax     = $dummy['is_tax'];
    413413
     414        /**
     415         * Force the header back to 200 status if not a deliberate 404
     416         *
     417         * @see http://bbpress.trac.wordpress.org/ticket/1973
     418         */
     419        if ( ! $wp_query->is_404() )
     420                status_header( '200' );
     421
    414422        // If we are resetting a post, we are in theme compat
    415423        bbp_set_theme_compat_active();
Note: See TracChangeset for help on using the changeset viewer.