Skip to content

Commit

Permalink
Fix variable name in application_name_exists polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Jan 11, 2024
1 parent eac6762 commit e8a8604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User_Application_Password_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ private function application_name_exists_for_user( $user_id, $app_name ) {
$passwords = WP_Application_Passwords::get_user_application_passwords( $user_id );

foreach ( $passwords as $password ) {
if ( strtolower( $password['name'] ) === strtolower( $name ) ) {
if ( strtolower( $password['name'] ) === strtolower( $app_name ) ) {
return true;
}
}
Expand Down

0 comments on commit e8a8604

Please sign in to comment.