Skip to content

Commit e02514e

Browse files
committed
bugfix for date control.
1 parent f1145ca commit e02514e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/class-kirki-enqueue.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function customize_controls_enqueue_scripts() {
9797
'color' => array( 'jquery', 'customize-base', 'wp-color-picker-alpha' ),
9898
'color-palette' => array( 'jquery', 'customize-base', 'jquery-ui-button' ),
9999
'dashicons' => array( 'jquery', 'customize-base' ),
100-
'date' => array( 'jquery', 'customize-base', 'jquery-ui', 'jquery-ui-datepicker' ),
100+
'date' => array( 'jquery', 'customize-base', 'jquery-ui-datepicker' ),
101101
'dimension' => array( 'jquery', 'customize-base', 'kirki-validate-css-value' ),
102102
'dropdown-pages' => array( 'jquery', 'customize-base', 'selectize' ),
103103
'editor' => array( 'jquery', 'customize-base', 'kirki-l10n' ),

includes/controls/class-kirki-controls-date-control.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Kirki_Controls_Date_Control extends Kirki_Customize_Control {
3535
* @access public
3636
*/
3737
public function enqueue() {
38-
wp_enqueue_script( 'kirki-dashicons' );
38+
wp_enqueue_script( 'kirki-date' );
3939
}
4040

4141
/**

0 commit comments

Comments
 (0)