PluginProbe
Customify / 2.10.1
Customify v2.10.1
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
← All changes | includes/class-customify-classic-editor.php +2 -8 2.10.92.10.1 View file →
@@ -1,6 +1,5 @@
1 1 <?php
2 -// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped,WordPress.Security.EscapeOutput.ExceptionNotEscaped,WordPress.Security.EscapeOutput.UnsafePrintingFunction -- Legacy Customify view output contains trusted config HTML, dynamic CSS/JS, or WordPress Customizer binding attributes.
3 2 /**
4 3 * This is the class that handles the overall logic for integration with the classic editor (TinyMCE).
5 4 *
6 5 * @see https://pixelgrade.com
@@ -72,15 +71,10 @@
72 71 $script = $this->get_fonts_editor_dynamic_script();
73 72 if ( ! empty( $script ) ) {
74 73 // Make sure the the script is enqueued in the footer. We want all the DOM to be loaded and need jQuery.
75 74 wp_deregister_script( PixCustomifyPlugin()->get_slug() . '-web-font-loader' );
76 - wp_register_script(
77 - PixCustomifyPlugin()->get_slug() . '-web-font-loader',
78 - plugins_url( 'js/vendor/webfontloader-1-6-28.min.js', PixCustomifyPlugin()->get_file() ),
79 - array( 'jquery' ),
80 - PixCustomifyPlugin()->get_version(),
81 - true
82 - );
75 + wp_register_script( PixCustomifyPlugin()->get_slug() . '-web-font-loader',
76 + plugins_url( 'js/vendor/webfontloader-1-6-28.min.js', PixCustomifyPlugin()->get_file() ), array('jquery'), null, true );
83 77 wp_enqueue_script( PixCustomifyPlugin()->get_slug() . '-web-font-loader' );
84 78 wp_add_inline_script( PixCustomifyPlugin()->get_slug() . '-web-font-loader', $script );
85 79 }
86 80