PluginProbe
Parse.ly / 3.24.3
Parse.ly v3.24.3
3.24.3 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 All 107 releases
← All changes | wp-parsely.php +6 -4 3.24.0 → 3.24.3 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.24.0
14 + * Version: 3.24.3
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
@@ -49,9 +49,9 @@
49 49 if ( class_exists( Parsely::class ) ) {
50 50 return;
51 51 }
52 52
53 -const PARSELY_VERSION = '3.24.0';
53 +const PARSELY_VERSION = '3.24.3';
54 54 const PARSELY_FILE = __FILE__;
55 55 const PARSELY_DATA_SCHEMA_VERSION = '1';
56 56 const PARSELY_CACHE_GROUP = 'wp-parsely';
57 57
@@ -118,9 +118,9 @@
118 118 ( new Site_Health( $parsely ) )->run();
119 119 ( new Dashboard_Widget( $parsely ) )->run();
120 120 }
121 121
122 -add_action( 'admin_init', __NAMESPACE__ . '\\create_engagement_boost_changeset_post' );
122 +add_action( 'load-toplevel_page_parsely-dashboard-page', __NAMESPACE__ . '\\create_engagement_boost_changeset_post' );
123 123 /**
124 124 * Creates a predefined changeset post in order to make the Engagement Boost
125 125 * preview work for non-administrator user roles.
126 126 *
@@ -132,11 +132,13 @@
132 132 * `class-wp-customize-manager.php` and prevents preview, displaying "-1".
133 133 *
134 134 * By creating a predefined changeset post with a known UUID that we use in
135 135 * `iFrameSrc()`, we guarantee that the preview will work for all authorized
136 - * user roles.
136 + * user roles. The preview only appears on the Engagement Boost page, so the
137 + * post is created when that page loads.
137 138 *
138 139 * @since 3.20.7
140 + * @since 3.24.3 Runs only when the Engagement Boost page loads.
139 141 */
140 142 function create_engagement_boost_changeset_post(): void {
141 143 if ( ! function_exists( 'post_exists' ) ) {
142 144 return;