Commit 34e8527a authored by alchemyunited's avatar alchemyunited

fix to setup.php

parent 867ea286
......@@ -245,17 +245,6 @@ class ClassSetup {
'callback' => 'wpEnqueueStyleParent'
];
// DEqueue the parent
// important - be sure to update the parent style property in ClassStyles
$this->_arr_actions[] = [
'active' => true, // <<<
'hook' => 'wp_print_styles',
'component' => $new_styles,
'callback' => 'wpDequeueStyleParent',
'priority' => 100
];
// add_action( 'wp_enqueue_scripts', [ $new_styles, 'wpEnqueueStyleChild' ], 10 );
$this->_arr_actions[] = [
......
......@@ -44,6 +44,11 @@ _No frills. No extra special ez magic**_
### CHANGE LOG
__-- 0.0.9.2__
-CHANGED - Removed the hook in Setup to deenqueue a parent script. That's now done via the WPezThemeCustomize plugin.
__-- 0.0.9.1__
- CHANGED - Adopted 7-1 architecture pattern for SCSS (https://github.com/HugoGiraudel/sass-boilerplate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment