Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -84,6 +84,7 @@ class Unique extends Rule {
|
||||
if ( ! $existing) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( $existing instanceof \WP_User) {
|
||||
$id = $existing->ID;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user