diff --git a/class/class-mainwp-child-wordfence.php b/class/class-mainwp-child-wordfence.php index 9038626..2ebc044 100644 --- a/class/class-mainwp-child-wordfence.php +++ b/class/class-mainwp-child-wordfence.php @@ -9,8 +9,7 @@ * * The code is used for the MainWP Wordfence Extension * Extension URL: https://mainwp.com/extension/wordfence/ - * -*/ + */ class MainWP_Child_Wordfence { public static $instance = null; @@ -1792,7 +1791,7 @@ class MainWP_Child_Wordfence { $data['whitelistedURLParams'] = array(); foreach ( $whitelistedURLParams as $urlParamKey => $rules ) { list( $path, $paramKey ) = explode( '|', $urlParamKey ); - $whitelistData = null; + $whitelistData = null; foreach ( $rules as $ruleID => $whitelistedData ) { if ( null === $whitelistData ) { $whitelistData = $whitelistedData; @@ -1820,7 +1819,7 @@ class MainWP_Child_Wordfence { } $data['disabledRules'] = (array) wfWAF::getInstance()->getStorageEngine()->getConfig( 'disabledRules' ); - $lastUpdated = wfWAF::getInstance()->getStorageEngine()->getConfig( 'rulesLastUpdated' ); + $lastUpdated = wfWAF::getInstance()->getStorageEngine()->getConfig( 'rulesLastUpdated' ); if ( $lastUpdated ) { $data['rulesLastUpdated'] = $lastUpdated; } @@ -2357,17 +2356,17 @@ class MainWP_Child_Wordfence {