diff --git a/php/class-customize-posts-plugin.php b/php/class-customize-posts-plugin.php index bd61988..e668b71 100644 --- a/php/class-customize-posts-plugin.php +++ b/php/class-customize-posts-plugin.php @@ -199,7 +199,7 @@ public function register_scripts( WP_Scripts $wp_scripts ) { $handle = 'customize-posts-panel'; $src = plugins_url( 'js/customize-posts-panel' . $suffix, dirname( __FILE__ ) ); - $deps = array( 'customize-controls' ); + $deps = array( 'select2', 'customize-controls' ); $in_footer = 1; $wp_scripts->add( $handle, $src, $deps, $this->version, $in_footer );