[buddypress-trac] [BuddyPress Trac] #9067: Use the right block template when a BP Directory is set as home page with a Block Theme

buddypress-trac noreply at wordpress.org
Wed Jan 10 10:46:07 UTC 2024


#9067: Use the right block template when a BP Directory is set as home page with a
Block Theme
--------------------------+-------------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  12.1.0
Component:  Route Parser  |    Version:  12.0.0
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9067>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list