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

@ -198,7 +198,7 @@ class Membership_List_Table extends Base_List_Table {
$date = $item->get_date_expiration();
if (empty($date) || $date === '0000-00-00 00:00:00') {
if (empty($date) || '0000-00-00 00:00:00' === $date) {
return sprintf('<span>%s</span><br><small>%s</small>', __('Lifetime', 'wp-ultimo'), __('It never expires', 'wp-ultimo'));
}