Skip to content

Commit

Permalink
further cleanup for dropdown-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Mar 26, 2017
1 parent 1e9e8ed commit cafb89b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ module.exports = function( grunt ) {
'controls/date/date.css': 'controls/date/date.scss',
'controls/dimension/dimension.css': 'controls/dimension/dimension.scss',
'controls/dimensions/dimensions.css': 'controls/dimensions/dimensions.scss',
'controls/dropdown-pages/selectize.css': 'controls/dropdown-pages/selectize.scss',
'controls/editor/editor.css': 'controls/editor/editor.scss',
'controls/generic/generic.css': 'controls/generic/generic.scss',
'controls/multicheck/multicheck.css': 'controls/multicheck/multicheck.scss',
Expand Down
7 changes: 0 additions & 7 deletions controls/repeater/class-kirki-control-repeater.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,6 @@ public function enqueue() {
break;
}
}

foreach ( $this->fields as $field ) {
if ( isset( $field['type'] ) && 'dropdown-pages' === $field['type'] ) {
wp_enqueue_script( 'kirki-dropdown-pages' );
break;
}
}
}

wp_enqueue_script( 'kirki-repeater', trailingslashit( Kirki::$url ) . 'controls/repeater/repeater.js', array( 'jquery', 'customize-base', 'jquery-ui-core', 'jquery-ui-sortable' ), false, true );
Expand Down
1 change: 0 additions & 1 deletion core/class-kirki-control.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ final private function set_control_types() {
'kirki-generic' => 'Kirki_Control_Generic',
'kirki-toggle' => 'Kirki_Control_Toggle',
'kirki-typography' => 'Kirki_Control_Typography',
'dropdown-pages' => 'Kirki_Control_Dropdown_Pages',
'image' => 'WP_Customize_Image_Control',
'cropped_image' => 'WP_Customize_Cropped_Image_Control',
'upload' => 'WP_Customize_Upload_Control',
Expand Down
43 changes: 0 additions & 43 deletions field/class-kirki-field-dropdown-pages.php

This file was deleted.

0 comments on commit cafb89b

Please sign in to comment.