Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -520,7 +520,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
wp_die(__('You do not have the permissions required to change settings.', 'wp-ultimo'));
|
||||
}
|
||||
|
||||
if ( ! isset($_POST['active_gateways']) && wu_request('tab') === 'payment-gateways') {
|
||||
if ( ! isset($_POST['active_gateways']) && 'payment-gateways' === wu_request('tab')) {
|
||||
$_POST['active_gateways'] = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user