- Timestamp:
- 07/14/2021 01:50:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/classes/class-bp-core-friends-widget.php
r12991 r12997 33 33 parent::__construct( false, $name = _x( '(BuddyPress) Friends', 'widget name', 'buddypress' ), $widget_ops ); 34 34 35 if ( is_customize_preview() || is_active_widget( false, false, $this->id_base ) ) {35 if ( is_customize_preview() || bp_is_widget_block_active( '', $this->id_base ) ) { 36 36 add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 37 37 }
Note: See TracChangeset
for help on using the changeset viewer.