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 +5 -5 13.6.2 → 16.3-a.7 View file →
@@ -239,10 +239,10 @@
239 239 #stats_nudges_toggle {
240 240 height: 100%;
241 241 }
242 242 .dops-banner.dops-card.is-product.jp-stats-report-upgrade-item {
243 - margin-bottom: 0px;
244 - border-left: 0px;
243 + margin-bottom: 0;
244 + border-left: 0;
245 245 box-shadow: none;
246 246 border-top: 1px solid #c3c4c7;
247 247 padding: 12px 24px;
248 248 }
@@ -247,12 +247,12 @@
247 247 padding: 12px 24px;
248 248 }
249 249 .dops-banner.dops-card.jp-stats-report-upgrade-item.jp-stats-report-upgrade-subitem {
250 250 margin-left: 72px;
251 - padding-left: 0px;
251 + padding-left: 0;
252 252 }
253 253 .jp-stats-report-upgrade-item .dops-banner__action {
254 - margin-right: 0px;
254 + margin-right: 0;
255 255 }
256 256 #jp-stats-report-upgrade-wrap .dops-card::after {
257 257 content: "";
258 258 }
@@ -295,9 +295,9 @@
295 295 fetch( '/wp-json/jetpack/v4/settings', {
296 296 method: 'post',
297 297 body: JSON.stringify( { collapse_nudges: collapseValue } ),
298 298 headers: {
299 - '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 ); ?>,
300 300 'Content-type': 'application/json' }
301 301 } );
302 302 };
303 303 }