Skip to:
Content

bbPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1854 closed defect (bug) (fixed)

Root templates being bypassed

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Appearance - Theme Compatibility Keywords:
Cc:

Description

Original Report: http://bbpress.org/forums/topic/21-ignoring-certain-template-files

Certain root template files are being skipped over, even when theme compatibility knows it should not be.

Change History (2)

#1 @johnjamesjacoby
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3969]) Theme Compatibility:

  • Invert bbp_is_theme_compat_original_template() check in bbp_template_include_theme_compat().
  • Fixes issue with root template files being skipped over.
  • Fixes #1854.

#2 @johnjamesjacoby
12 years ago

(In [3971]) Theme Compatibility:

  • Allow root level templates to bypass the_content overriding if child/parent templates are found.
  • Introduces two functions and new theme_compat functionality, that modifies bbp_get_query_template() to tell bbp_locate_template() to not override the_content.
  • Reverts r3969.
  • Fixes #1854 correctly.
Note: See TracTickets for help on using tickets.