Skip to content

Commit

Permalink
Merge pull request #4525 from Automattic/add/selective-refresh-support
Browse files Browse the repository at this point in the history
Blank Canvas, IP2, Lodestar: Add support for selective refresh widgets
  • Loading branch information
sixhours authored Sep 6, 2021
2 parents 0d4128b + aeb3c1b commit bc17b04
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion blank-canvas/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ function blank_canvas_colors() {
function blank_canvas_remove_parent_theme_features() {
// Theme Support.
remove_theme_support( 'custom-header' );
remove_theme_support( 'customize-selective-refresh-widgets' );
}
add_action( 'after_setup_theme', 'blank_canvas_remove_parent_theme_features', 11 );

Expand Down
2 changes: 1 addition & 1 deletion independent-publisher-2/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function independent_publisher_2_setup() {
*/
add_theme_support( 'title-tag' );

add_theme_support( 'customize_selective_refresh_widgets' );
add_theme_support( 'customize-selective-refresh-widgets' );

/*
* Enable support for Post Thumbnails on posts and pages.
Expand Down
2 changes: 1 addition & 1 deletion lodestar/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function lodestar_setup() {
);

// Add support to selectively refresh widgets in Customizer
add_theme_support( 'customize_selective_refresh_widgets' );
add_theme_support( 'customize-selective-refresh-widgets' );

// Add theme support for Custom Logo.
add_theme_support(
Expand Down

0 comments on commit bc17b04

Please sign in to comment.