Merge pull request #1049 from samikeijonen/issue/994

Add theme support for selective refresh for widgets: props @samikeijonen
This commit is contained in:
Tammie Lister 2016-12-23 14:31:19 +00:00 committed by GitHub
commit 69cdd5361c
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ function _s_setup() {
'default-color' => 'ffffff', 'default-color' => 'ffffff',
'default-image' => '', 'default-image' => '',
) ) ); ) ) );
// Add theme support for selective refresh for widgets.
add_theme_support( 'customize-selective-refresh-widgets' );
} }
endif; endif;
add_action( 'after_setup_theme', '_s_setup' ); add_action( 'after_setup_theme', '_s_setup' );