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

Commit

Permalink
Add Select2 as a dependency for customize-posts-panel script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnregan3 committed Jul 22, 2016
1 parent 273addc commit ac29eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-customize-posts-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit ac29eb8

Please # to comment.