| @@ -15,13 +15,13 @@ | ||
| 15 | 15 | add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_admin_customizer_styles' ), 10 ); |
| 16 | 16 | $load_location = PixCustomifyPlugin()->get_plugin_setting( 'style_resources_location', 'wp_head' ); |
| 17 | 17 | |
| 18 | 18 | if ( function_exists( 'wp_custom_css_cb' ) ) { |
| 19 | - remove_action( 'wp_head', 'wp_custom_css_cb', 11 ); | |
| 20 | - add_action( $load_location, 'wp_custom_css_cb', 999999999 ); | |
| 19 | +// remove_action( 'wp_head', 'wp_custom_css_cb', 101 ); | |
| 20 | +// add_action( $load_location, 'wp_custom_css_cb', 999999999 ); | |
| 21 | 21 | } else { |
| 22 | 22 | // keep this for wordpress versions lower than 4.7 |
| 23 | - add_action( $load_location, array( $this, 'output_dynamic_style' ), 999999999 ); | |
| 23 | + add_action( $load_location, array( $this, 'output_dynamic_style' ), 99 ); | |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | //Check the WordPress version and if there are known problems disable it |
| 27 | 27 | add_filter( 'customify_css_live_editor_enabled', array( $this, 'disable_if_wp_incompatible' ), 10, 1 ); |