Changeset 5470
- Timestamp:
- 09/08/2014 04:51:39 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/theme-compat.php
r5466 r5470 391 391 $wp_query->is_tax = $dummy['is_tax']; 392 392 393 // Reset is_singular based on page/single args 394 // https://bbpress.trac.wordpress.org/ticket/2545 395 $wp_query->is_singular = $wp_query->is_single; 396 393 397 // Clean up the dummy post 394 398 unset( $dummy ); … … 480 484 'post_title' => bbp_get_displayed_user_field( 'display_name' ), 481 485 'post_status' => bbp_get_public_status_id(), 486 'is_single' => true, 482 487 'is_archive' => false, 483 488 'comment_status' => 'closed'
Note: See TracChangeset
for help on using the changeset viewer.