[buddypress-trac] [BuddyPress Trac] #8757: Use the right function to find out whether the theme is a block theme or not

buddypress-trac noreply at wordpress.org
Sat Oct 29 02:03:36 UTC 2022


#8757: Use the right function to find out whether the theme is a block theme or
not
--------------------------+-----------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  assigned
 Priority:  high          |   Milestone:  10.6.0
Component:  Core          |     Version:  10.5.0
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by prbot):

 * keywords:   => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/32 PR #32] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 Instead of checking whether a theme is supporting `block-templates` to
 find out whether the current theme is a Block (templates) based theme, use
 the `wp_is_block_theme()`

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/8757

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


More information about the buddypress-trac mailing list