Changeset 56352 for trunk/src/wp-login.php
- Timestamp:
- 08/03/2023 12:08:30 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r56245 r56352 1304 1304 1305 1305 // Check if it is time to add a redirect to the admin email confirmation screen. 1306 if ( is_a( $user, 'WP_User' )&& $user->exists() && $user->has_cap( 'manage_options' ) ) {1306 if ( $user instanceof WP_User && $user->exists() && $user->has_cap( 'manage_options' ) ) { 1307 1307 $admin_email_lifespan = (int) get_option( 'admin_email_lifespan' ); 1308 1308
Note: See TracChangeset
for help on using the changeset viewer.