PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | modules/stats/class-jetpack-stats-upgrade-nudges.php +6 -6 12.1.3 → 16.3-a.7 View file →
@@ -5,8 +5,9 @@
5 5 * @package jetpack
6 6 */
7 7
8 8 use Automattic\Jetpack\Connection\Manager;
9 +use Automattic\Jetpack\Current_Plan as Jetpack_Plan;
9 10 use Automattic\Jetpack\Jetpack_CRM_Data;
10 11 use Automattic\Jetpack\Plugins_Installer;
11 12 use Automattic\Jetpack\Redirect;
12 13 use Automattic\Jetpack\Tracking;
@@ -238,10 +239,10 @@
238 239 #stats_nudges_toggle {
239 240 height: 100%;
240 241 }
241 242 .dops-banner.dops-card.is-product.jp-stats-report-upgrade-item {
242 - margin-bottom: 0px;
243 - border-left: 0px;
243 + margin-bottom: 0;
244 + border-left: 0;
244 245 box-shadow: none;
245 246 border-top: 1px solid #c3c4c7;
246 247 padding: 12px 24px;
247 248 }
@@ -246,12 +247,12 @@
246 247 padding: 12px 24px;
247 248 }
248 249 .dops-banner.dops-card.jp-stats-report-upgrade-item.jp-stats-report-upgrade-subitem {
249 250 margin-left: 72px;
250 - padding-left: 0px;
251 + padding-left: 0;
251 252 }
252 253 .jp-stats-report-upgrade-item .dops-banner__action {
253 - margin-right: 0px;
254 + margin-right: 0;
254 255 }
255 256 #jp-stats-report-upgrade-wrap .dops-card::after {
256 257 content: "";
257 258 }
@@ -294,9 +295,9 @@
294 295 fetch( '/wp-json/jetpack/v4/settings', {
295 296 method: 'post',
296 297 body: JSON.stringify( { collapse_nudges: collapseValue } ),
297 298 headers: {
298 - 'X-WP-Nonce': "<?php echo esc_js( wp_create_nonce( 'wp_rest' ) ); ?>",
299 + 'X-WP-Nonce': <?php echo wp_json_encode( wp_create_nonce( 'wp_rest' ), JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_AMP ); ?>,
299 300 'Content-type': 'application/json' }
300 301 } );
301 302 };
302 303 }
@@ -578,6 +579,5 @@
578 579 self::get_boost_output();
579 580 self::get_crm_output();
580 581 self::print_footer();
581 582 }
582 -
583 583 }