Opened 3 years ago
Closed 3 years 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.1.0 |
| Component: | Route Parser | Version: | 12.0.0 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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