Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/19/2016 09:21:46 PM (5 years ago)
Author:
r-a-y
Message:

Widgets: Add support for WP Customizer's selective refresh.

This functionality is available as of WordPress 4.5.0.

For more details, view the WP development post:
https://make.wordpress.org/core/2016/03/22/implementing-selective-refresh-support-for-widgets/

Props lakrisgubben.
Fixes #7030.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/classes/class-bp-messages-sitewide-notices-widget.php

    r10522 r10793  
    2626            __( '(BuddyPress) Sitewide Notices', 'buddypress' ),
    2727            array(
    28                 'classname'   => 'widget_bp_core_sitewide_messages buddypress widget',
    29                 'description' => __( 'Display Sitewide Notices posted by the site administrator', 'buddypress' ),
     28                'classname'                   => 'widget_bp_core_sitewide_messages buddypress widget',
     29                'description'                 => __( 'Display Sitewide Notices posted by the site administrator', 'buddypress' ),
     30                'customize_selective_refresh' => true,
    3031            )
    3132        );
Note: See TracChangeset for help on using the changeset viewer.