[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:00:52 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        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by imath):

 In [changeset:"13694" 13694]:
 {{{
 #!CommitTicketReference repository="" revision="13694"
 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

 See #9067 (trunk)
 Closes https://github.com/buddypress/buddypress/pull/216
 }}}

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


More information about the buddypress-trac mailing list