Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 411673e

Browse files
committed
Replace customize-snapshots JS dependency from customize-widgets to customize-controls
1 parent d72775f commit 411673e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/class-plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function init() {
5757
public function register_scripts( \WP_Scripts $wp_scripts ) {
5858
$min = ( SCRIPT_DEBUG ? '' : '.min' );
5959
$src = $this->dir_url . 'js/customize-snapshots' . $min . '.js';
60-
$deps = array( 'jquery', 'jquery-ui-dialog', 'wp-util', 'customize-widgets' );
60+
$deps = array( 'jquery', 'jquery-ui-dialog', 'wp-util', 'customize-controls' );
6161
$wp_scripts->add( $this->slug, $src, $deps );
6262
}
6363

0 commit comments

Comments
 (0)