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: |
|
Owned by: |
|
|---|---|---|---|
| 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
Note: See
TracTickets for help on using
tickets.
### 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
$new_titleinstead of always callingbbp_get_topic_archive_title()bbp_forum_archive_title()/bbp_topic_archive_title()tothe_title()to respect theme compatibility layerbbPress Trac #3604