Add selective refresh support to widgets for customizer

This commit is contained in:
Robin Cornett
2016-03-25 13:26:44 -04:00
parent 5925672258
commit 7218c6a8a3
3 changed files with 9 additions and 6 deletions
@@ -32,8 +32,9 @@ class Display_Featured_Image_Genesis_Author_Widget extends WP_Widget {
);
$widget_ops = array(
'classname' => 'author-profile',
'description' => __( 'Displays user profile block with Gravatar', 'display-featured-image-genesis' ),
'classname' => 'author-profile',
'description' => __( 'Displays user profile block with Gravatar', 'display-featured-image-genesis' ),
'customize_selective_refresh' => true,
);
$control_ops = array(