Changeset 12976
- Timestamp:
- 06/27/2021 10:47:39 AM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/classes/class-bp-blogs-recent-posts-widget.php
r12324 r12976 13 13 /** 14 14 * The Recent Networkwide Posts widget. 15 * 16 * @since 1.0.0 15 17 */ 16 18 class BP_Blogs_Recent_Posts_Widget extends WP_Widget { … … 18 20 /** 19 21 * Constructor method. 22 * 23 * @since 1.5.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 20 25 */ 21 26 public function __construct() { … … 24 29 'classname' => 'widget_bp_blogs_widget buddypress widget', 25 30 'customize_selective_refresh' => true, 31 'show_instance_in_rest' => true, 26 32 ); 27 33 parent::__construct( false, $name = _x( '(BuddyPress) Recent Networkwide Posts', 'widget name', 'buddypress' ), $widget_ops ); -
trunk/src/bp-core/classes/class-bp-core-login-widget.php
r12118 r12976 22 22 * 23 23 * @since 1.9.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 25 */ 25 26 public function __construct() { … … 31 32 'classname' => 'widget_bp_core_login_widget buddypress widget', 32 33 'customize_selective_refresh' => true, 34 'show_instance_in_rest' => true, 33 35 ) 34 36 ); -
trunk/src/bp-friends/classes/class-bp-core-friends-widget.php
r12323 r12976 22 22 * 23 23 * @since 1.9.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 25 */ 25 26 function __construct() { … … 28 29 'classname' => 'widget_bp_core_friends_widget buddypress widget', 29 30 'customize_selective_refresh' => true, 31 'show_instance_in_rest' => true, 30 32 ); 31 33 parent::__construct( false, $name = _x( '(BuddyPress) Friends', 'widget name', 'buddypress' ), $widget_ops ); -
trunk/src/bp-groups/classes/class-bp-groups-widget.php
r12791 r12976 22 22 * 23 23 * @since 1.0.3 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 25 */ 25 26 public function __construct() { … … 28 29 'classname' => 'widget_bp_groups_widget buddypress widget', 29 30 'customize_selective_refresh' => true, 31 'show_instance_in_rest' => true, 30 32 ); 31 33 parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops ); -
trunk/src/bp-members/classes/class-bp-core-members-widget.php
r12324 r12976 22 22 * 23 23 * @since 1.5.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 25 */ 25 26 public function __construct() { … … 34 35 'classname' => 'widget_bp_core_members_widget buddypress widget', 35 36 'customize_selective_refresh' => true, 37 'show_instance_in_rest' => true, 36 38 ) ); 37 39 -
trunk/src/bp-members/classes/class-bp-core-recently-active-widget.php
r12324 r12976 22 22 * 23 23 * @since 1.5.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 25 */ 25 26 public function __construct() { … … 30 31 'classname' => 'widget_bp_core_recently_active_widget buddypress widget', 31 32 'customize_selective_refresh' => true, 33 'show_instance_in_rest' => true, 32 34 ) ); 33 35 } -
trunk/src/bp-members/classes/class-bp-core-whos-online-widget.php
r12324 r12976 15 15 * 16 16 * @since 1.0.3 17 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 17 18 */ 18 19 class BP_Core_Whos_Online_Widget extends WP_Widget { … … 22 23 * 23 24 * @since 1.5.0 25 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 24 26 */ 25 27 public function __construct() { … … 30 32 'classname' => 'widget_bp_core_whos_online_widget buddypress widget', 31 33 'customize_selective_refresh' => true, 34 'show_instance_in_rest' => true, 32 35 ) ); 33 36 } -
trunk/src/bp-messages/classes/class-bp-messages-sitewide-notices-widget.php
r11447 r12976 20 20 /** 21 21 * Constructor method. 22 * 23 * @since 1.9.0 24 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 22 25 */ 23 26 function __construct() { … … 29 32 'description' => __( 'Display Sitewide Notices posted by the site administrator', 'buddypress' ), 30 33 'customize_selective_refresh' => true, 34 'show_instance_in_rest' => true, 31 35 ) 32 36 ); -
trunk/src/bp-templates/bp-nouveau/includes/activity/widgets.php
r12949 r12976 20 20 * 21 21 * @since 3.0.0 22 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 22 23 */ 23 24 public function __construct() { … … 35 36 'description' => __( 'Display the latest updates of your community having the types of your choice.', 'buddypress' ), 36 37 'customize_selective_refresh' => true, 38 'show_instance_in_rest' => true, 37 39 ) 38 40 ); -
trunk/src/bp-templates/bp-nouveau/includes/classes.php
r12156 r12976 192 192 * 193 193 * @since 3.0.0 194 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options. 194 195 */ 195 196 public function __construct() { 196 197 $widget_ops = array( 197 'description' => __( 'Displays BuddyPress primary nav in the sidebar of your site. Make sure to use it as the first widget of the sidebar and only once.', 'buddypress' ), 198 'classname' => 'widget_nav_menu buddypress_object_nav', 198 'description' => __( 'Displays BuddyPress primary nav in the sidebar of your site. Make sure to use it as the first widget of the sidebar and only once.', 'buddypress' ), 199 'classname' => 'widget_nav_menu buddypress_object_nav', 200 'show_instance_in_rest' => true, 199 201 ); 200 202
Note: See TracChangeset
for help on using the changeset viewer.