Everywhere yoda conditions are

This commit is contained in:
David Stone
2025-02-09 00:20:10 -07:00
parent d74f6d1a53
commit be0ab98895
213 changed files with 691 additions and 412 deletions

View File

@ -100,7 +100,7 @@ function wu_register_settings_field($section_slug, $field_slug, $atts, $priority
*/
function wu_register_settings_side_panel($section_slug, $atts) {
if (wu_request('tab', 'general') !== $section_slug && $section_slug !== 'all') {
if (wu_request('tab', 'general') !== $section_slug && 'all' !== $section_slug) {
return;
}