Changeset 56194 for trunk/src/wp-includes/user.php
- Timestamp:
- 07/10/2023 11:09:16 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r56151 r56194 1066 1066 } 1067 1067 1068 // Technically not needed, but does save calls to get_site() and get_user_meta() 1069 // in the event that the function is called when a user isn't logged in. 1068 /* 1069 * Technically not needed, but does save calls to get_site() and get_user_meta() 1070 * in the event that the function is called when a user isn't logged in. 1071 */ 1070 1072 if ( empty( $user_id ) ) { 1071 1073 return false; … … 2724 2726 wp_clear_auth_cookie(); 2725 2727 2726 // Here we calculate the expiration length of the current auth cookie and compare it to the default expiration. 2727 // If it's greater than this, then we know the user checked 'Remember Me' when they logged in. 2728 /* 2729 * Here we calculate the expiration length of the current auth cookie and compare it to the default expiration. 2730 * If it's greater than this, then we know the user checked 'Remember Me' when they logged in. 2731 */ 2728 2732 $logged_in_cookie = wp_parse_auth_cookie( '', 'logged_in' ); 2729 2733 /** This filter is documented in wp-includes/pluggable.php */
Note: See TracChangeset
for help on using the changeset viewer.