Skip to:
Content

bbPress.org

Opened 17 months ago

Last modified 4 months ago

#3604 assigned defect (bug)

Forum & Topic archive titles may not use WordPress Page title

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.1
Component: Appearance - Theme Compatibility Keywords: has-patch needs-testing
Cc:

Description

When viewing an Archive page, if a WordPress page already exists in that same path, the original intention with the Theme Compatibility API was for that Title to be used.

Instead, currently, what ends up being used is the results of bbp_get_topic_archive_title() or bbp_get_topic_archive_title(), and depending on which is set to display at the "forum root" the title displayed theme-side could be sourced from the wrong place.

Related to #3602.

Change History (2)

This ticket was mentioned in PR #35 on bbpress/bbPress by @rollybueno.


4 months ago
#1

  • Keywords has-patch added

### Summary

Fixes archive page titles to use WordPress page titles when a page exists at the same path, instead of always showing bbPress archive titles.

### Changes

  • Theme compatibility: Fixed topic archive to use $new_title instead of always calling bbp_get_topic_archive_title()
  • Archive templates: Changed from bbp_forum_archive_title()/bbp_topic_archive_title() to the_title() to respect theme compatibility layer

bbPress Trac #3604

#2 @rollybueno
4 months ago

  • Keywords needs-testing added
Note: See TracTickets for help on using tickets.