Everywhere yoda conditions are

This commit is contained in:
David Stone committed 2025-02-09 00:20:10 -07:00
1 parent d74f6d1a53
commit be0ab98895
213 files changed
+691 -412

No files matched your search

+3 -2
View File
@@ -75,9 +75,9 @@ class Limitation_Manager {
switch_to_blog($site_id);
if ($action === 'activate') {
if ('activate' === $action) {
$results = activate_plugins($plugins, '', $network_wide, $silent);
} elseif ($action === 'deactivate') {
} elseif ('deactivate' === $action) {
$results = deactivate_plugins($plugins, $silent, $network_wide);
}
@@ -820,6 +820,7 @@ class Limitation_Manager {
return $listed_plugins;
}
/**
* Returns a list of all themes available as options, after filtering.
*