Opened 8 months ago
Closed 8 months ago
#9067 closed defect (bug) (fixed)
Use the right block template when a BP Directory is set as home page with a Block Theme
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 12.1.0 | Priority: | normal |
Severity: | normal | Version: | 12.0.0 |
Component: | Route Parser | Keywords: | has-patch |
Cc: |
Description
12.0 introduced a regression about the template used when a BP Directory is set as home page. This issue was discussed during January 8, 2024 dev-chat. Many thanks to @emaralive for his report.
Issue is: only overriding the $wp_query->is_home global
is misleading these kind of themes, the $wp_query->is_front_page
property also needs to be set as true.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Make sure Block Themes are using the right template to display a BP Directory when it is set as the site's front page.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9067