[buddypress-trac] [BuddyPress Trac] #8515: Introduce a new function to check if a Widget or a Widget Block is active into a sidebar

buddypress-trac noreply at wordpress.org
Wed Jul 14 08:52:07 UTC 2021


#8515: Introduce a new function to check if a Widget or a Widget Block is active
into a sidebar
--------------------+---------------------
 Reporter:  imath   |       Owner:  imath
     Type:  task    |      Status:  closed
 Priority:  normal  |   Milestone:  9.0.0
Component:  Core    |     Version:
 Severity:  normal  |  Resolution:  fixed
 Keywords:          |
--------------------+---------------------

Comment (by imath):

 In [changeset:"12998" 12998]:
 {{{
 #!CommitTicketReference repository="" revision="12998"
 Introduce a new `BP_Component` property for block globals

 This new property will help us to manage Widget Block occurrences globals
 and use a single filter on `'widget_block_dynamic_classname'` to make sure
 Widget Blocks will include Legacy Widget classnames and inherit their
 styles.

 This commit also makes sure WordPress is >= 5.0 before using the
 `has_block` function.

 See #8515
 Fixes #8516
 }}}

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


More information about the buddypress-trac mailing list