Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

#3055 closed defect (bug) (fixed)

Missing is_single on single replies

Reported by: SergeyBiryukov Owned by: johnjamesjacoby
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords: has-patch commit
Cc:

Description

bbp_template_include_theme_compat() calls bbp_theme_compat_reset_post() for both topics​ and replies​, however 'is_single' => true is only passed to topics.

This leads to missing bbpress, single-reply, reply-edit body classes on reply pages, and potentially other quirks.

Attachments (1)

3055.patch​ (442 bytes ) - added by SergeyBiryukov 10 years ago.

Download all attachments as: .zip

Change History (2)

#1 @johnjamesjacoby
10 years ago

  • Owner set to johnjamesjacoby
  • Resolution → fixed
  • Status new → closed

In 6288:

Theme Compat: Add is_ parameters to various query-reset procedures.

This ensures the state of the wp_query global is what someone can safely expect for it to be. It also is used through-out WordPress as a way to auto-assign body classes and various other environmental tweaks.

Fixes #3055. Props sergeybiryukov.

Note: See TracTickets for help on using tickets.