[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
Sat Jan 13 10:09:34 UTC 2024


#9067: Use the right block template when a BP Directory is set as home page with a
Block Theme
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  12.1.0
Component:  Route Parser  |     Version:  12.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13695" 13695]:
 {{{
 #!CommitTicketReference repository="" revision="13695"
 Block Themes: use the right template when a BP Directory is front page

 Only overriding the `$wp_query->is_home` property is misleading the
 template pick for these kind of themes, the `$wp_query->is_front_page`
 property also needs to be set as true.

 Props emaralive

 Fixes #9067 (branch 12.0)
 }}}

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


More information about the buddypress-trac mailing list