Changeset 6583 for trunk/src/includes/core/theme-compat.php
- Timestamp:
- 06/19/2017 04:29:43 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/theme-compat.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/theme-compat.php
r6573 r6583 395 395 'is_single' => false, 396 396 'is_archive' => false, 397 'is_tax' => false ,397 'is_tax' => false 398 398 ), 'theme_compat_reset_post' ); 399 399 } else { … … 428 428 'is_single' => false, 429 429 'is_archive' => false, 430 'is_tax' => false ,430 'is_tax' => false 431 431 ), 'theme_compat_reset_post' ); 432 432 } … … 458 458 // Clean up the dummy post 459 459 unset( $dummy ); 460 461 /**462 * Force the header back to 200 status if not a deliberate 404463 *464 * @see https://bbpress.trac.wordpress.org/ticket/1973465 */466 if ( ! $wp_query->is_404() ) {467 status_header( 200 );468 }469 460 470 461 // If we are resetting a post, we are in theme compat
Note: See TracChangeset
for help on using the changeset viewer.