From 4b9833b656fd8f5ebda0fa8db17e1d1ec3d1779b Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Fri, 21 Oct 2016 21:47:15 +0000 Subject: [PATCH] Twenty Seventeen: Add theme support for customize selective refresh widgets Props celloexpressions. Fixes #38400. git-svn-id: https://develop.svn.wordpress.org/trunk@38867 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index ae0f8f064c..6bf6e85be8 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -94,6 +94,9 @@ function twentyseventeen_setup() { 'flex-width' => true, ) ); + // Add theme support for selective refresh for widgets. + add_theme_support( 'customize-selective-refresh-widgets' ); + /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, and column width.