We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8fe3b commit a4f67ffCopy full SHA for a4f67ff
includes/JetpackBoost/JetpackBoost.php
@@ -42,10 +42,10 @@ public function __construct( Container $container ) {
42
* @return array SDK data.
43
*/
44
public function add_to_runtime( $sdk ) {
45
- $is_jetpack_boost_enabled = is_plugin_active( 'jetpack-boost/jetpack-boost.php' );
46
-
47
- if ( isset( $_GET['page'] ) && 'nfd-performance' === $_GET['page'] ) {
48
- delete_option('jb_get_started');
+ $is_jetpack_boost_enabled = is_plugin_active( 'jetpack-boost/jetpack-boost.php' );
+
+ if ( isset( $_GET['page'] ) && 'nfd-performance' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ delete_option( 'jb_get_started' );
49
}
50
51
$values = array(
0 commit comments