Skip to content

Commit a4f67ff

Browse files
committed
php lint
1 parent 4c8fe3b commit a4f67ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

includes/JetpackBoost/JetpackBoost.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public function __construct( Container $container ) {
4242
* @return array SDK data.
4343
*/
4444
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');
45+
$is_jetpack_boost_enabled = is_plugin_active( 'jetpack-boost/jetpack-boost.php' );
46+
47+
if ( isset( $_GET['page'] ) && 'nfd-performance' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
48+
delete_option( 'jb_get_started' );
4949
}
5050

5151
$values = array(

0 commit comments

Comments
 (0)