PluginProbe
Parse.ly / 3.24.2
Parse.ly v3.24.2
3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 All 106 releases
← All changes | wp-parsely.php +17 -3 3.23.5 → 3.24.2 View file →
@@ -10,9 +10,9 @@
10 10 * @wordpress-plugin
11 11 * Plugin Name: Parse.ly
12 12 * Plugin URI: https://docs.parse.ly/wordpress
13 13 * Description: This plugin makes it a snap to add Parse.ly tracking code and metadata to your WordPress blog.
14 - * Version: 3.23.5
14 + * Version: 3.24.2
15 15 * Author: Parse.ly
16 16 * Author URI: https://www.parse.ly
17 17 * Text Domain: wp-parsely
18 18 * License: GPL-2.0-or-later
@@ -18,9 +18,9 @@
18 18 * License: GPL-2.0-or-later
19 19 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20 20 * GitHub Plugin URI: https://github.com/Parsely/wp-parsely
21 21 * Requires PHP: 7.4
22 - * Requires WP: 6.0.0
22 + * Requires WP: 6.1.0
23 23 */
24 24
25 25 declare(strict_types=1);
26 26
@@ -49,9 +49,9 @@
49 49 if ( class_exists( Parsely::class ) ) {
50 50 return;
51 51 }
52 52
53 -const PARSELY_VERSION = '3.23.5';
53 +const PARSELY_VERSION = '3.24.2';
54 54 const PARSELY_FILE = __FILE__;
55 55 const PARSELY_DATA_SCHEMA_VERSION = '1';
56 56 const PARSELY_CACHE_GROUP = 'wp-parsely';
57 57
@@ -222,8 +222,22 @@
222 222 * @since 3.9.0 Renamed from init_content_helper().
223 223 */
224 224 function init_content_helper_editor_sidebar(): void {
225 225 $GLOBALS['parsely_editor_sidebar']->run();
226 +}
227 +
228 +add_action( 'enqueue_block_assets', __NAMESPACE__ . '\\init_content_helper_canvas_styles' );
229 +/**
230 + * Inserts the PCH Editor Sidebar styles that need to reach the Editor canvas.
231 + *
232 + * @since 3.24.0
233 + */
234 +function init_content_helper_canvas_styles(): void {
235 + if ( ! isset( $GLOBALS['parsely_editor_sidebar'] ) ) {
236 + return;
237 + }
238 +
239 + $GLOBALS['parsely_editor_sidebar']->run_canvas_styles();
226 240 }
227 241
228 242 add_action( 'admin_init', __NAMESPACE__ . '\\parsely_content_helper_editor_sidebar_features' );
229 243 add_action( 'rest_api_init', __NAMESPACE__ . '\\parsely_content_helper_editor_sidebar_features' );