updated theme GeneratePress
version 3.3.1
This commit is contained in:
@ -204,7 +204,7 @@ class GeneratePress_Dashboard {
|
||||
wp_enqueue_script(
|
||||
'generate-dashboard',
|
||||
get_template_directory_uri() . '/assets/dist/dashboard.js',
|
||||
array( 'wp-api', 'wp-i18n', 'wp-components', 'wp-element', 'wp-api-fetch' ),
|
||||
array( 'wp-api', 'wp-i18n', 'wp-components', 'wp-element', 'wp-api-fetch', 'wp-hooks', 'wp-polyfill' ),
|
||||
GENERATE_VERSION,
|
||||
true
|
||||
);
|
||||
|
@ -340,7 +340,7 @@ function generate_do_control_inline_scripts() {
|
||||
'generate-customizer-controls',
|
||||
trailingslashit( get_template_directory_uri() ) . 'assets/dist/customizer.js',
|
||||
// We're including wp-color-picker for localized strings, nothing more.
|
||||
array( 'customize-controls', 'wp-i18n', 'wp-components', 'wp-element', 'jquery', 'customize-base', 'wp-color-picker' ),
|
||||
array( 'lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'jquery', 'customize-base', 'customize-controls', 'wp-color-picker' ),
|
||||
GENERATE_VERSION,
|
||||
true
|
||||
);
|
||||
|
Reference in New Issue
Block a user