- Timestamp:
- 04/03/2025 02:36:46 PM (3 months ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
-
branches/6.8/src/wp-includes/class-wp-application-passwords.php
r59828 r60125 503 503 string $hash 504 504 ): bool { 505 if ( ! str_starts_with( $hash, '$generic$' ) ) { 506 /* 507 * If the hash doesn't start with `$generic$`, it is a hash created with `wp_hash_password()`. 508 * This is the case for application passwords created before 6.8.0. 509 */ 510 return wp_check_password( $password, $hash ); 511 } 512 505 513 return wp_verify_fast_hash( $password, $hash ); 506 514 }
Note: See TracChangeset
for help on using the changeset viewer.