Skip to content

Commit e8a8604

Browse files
committed
Fix variable name in application_name_exists polyfill
1 parent eac6762 commit e8a8604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/User_Application_Password_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ private function application_name_exists_for_user( $user_id, $app_name ) {
540540
$passwords = WP_Application_Passwords::get_user_application_passwords( $user_id );
541541

542542
foreach ( $passwords as $password ) {
543-
if ( strtolower( $password['name'] ) === strtolower( $name ) ) {
543+
if ( strtolower( $password['name'] ) === strtolower( $app_name ) ) {
544544
return true;
545545
}
546546
}

0 commit comments

Comments
 (0)