From 5c2f80f60f01290cfdd885cd29855f6f5ea9e349 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 17 Mar 2022 04:57:03 +0000 Subject: [PATCH] Registration/Login: Coding standards fixes for `wp-login.php`. Props alkesh7, Presskopp, audrasjb. Fixes #54746. See #54728. Built from https://develop.svn.wordpress.org/trunk@52945 git-svn-id: http://core.svn.wordpress.org/trunk@52534 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index b1adaeb14b..f4989b53fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52944'; +$wp_version = '6.0-alpha-52945'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 5975a3d58f..c0abcb077a 100644 --- a/wp-login.php +++ b/wp-login.php @@ -422,10 +422,7 @@ function wp_login_viewport_meta() { exists() && $user->has_cap( 'manage_options' ) ) { $admin_email_lifespan = (int) get_option( 'admin_email_lifespan' ); - // If `0` (or anything "falsey" as it is cast to int) is returned, the user will not be redirected - // to the admin email confirmation screen. + /* + * If `0` (or anything "falsey" as it is cast to int) is returned, the user will not be redirected + * to the admin email confirmation screen. + */ /** This filter is documented in wp-login.php */ $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );