Changeset 55988 for trunk/src/wp-includes/user.php
- Timestamp:
- 06/22/2023 02:34:56 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r55857 r55988 1766 1766 } 1767 1767 1768 $prefixed = false !== strpos( $field, 'user_' );1768 $prefixed = str_contains( $field, 'user_' ); 1769 1769 1770 1770 if ( 'edit' === $context ) { … … 2990 2990 $expiration_duration = apply_filters( 'password_reset_expiration', DAY_IN_SECONDS ); 2991 2991 2992 if ( false !== strpos( $user->user_activation_key, ':' ) ) {2992 if ( str_contains( $user->user_activation_key, ':' ) ) { 2993 2993 list( $pass_request_time, $pass_key ) = explode( ':', $user->user_activation_key, 2 ); 2994 2994 $expiration_time = $pass_request_time + $expiration_duration;
Note: See TracChangeset
for help on using the changeset viewer.