Skip to content

Commit

Permalink
Fix elseif to match rest of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed Dec 2, 2021
1 parent e9dab3e commit 006add5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-coauthors-guest-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ public function delete_guest_author_cache( $id_or_object ) {
$value_key = 'user_nicename';
} elseif ( 'login' == $key ) {
$value_key = 'user_login';
} else if ( 'id' == $key ) {
} elseif ( 'id' == $key ) {
$value_key = 'ID';
}

Expand Down

0 comments on commit 006add5

Please sign in to comment.