From ed126e5f521888028de2b7fc6a2905ee767fbd0c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 9 Dec 2019 13:08:53 +0000 Subject: [PATCH] Docs: Correct DocBlock formatting for `admin_email_confirm` and `admin_email_confirm_form` hooks. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46837 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-login.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/wp-login.php b/src/wp-login.php index 1ba80ede4e..7c2c5a5a02 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -602,11 +602,12 @@ switch ( $action ) { /** * Filters the interval for redirecting the user to the admin email confirmation screen. + * * If `0` (zero) is returned, the user will not be redirected. * * @since 5.3.0 * - * @param int $interval Interval time (in seconds). + * @param int $interval Interval time (in seconds). Default is 6 months. */ $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS ); @@ -621,12 +622,13 @@ switch ( $action ) { login_header( __( 'Confirm your administration email' ), '', $errors ); /** - * Fires before the admin email confirm form. - * - * @since 5.3.0 - * - * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid credentials. Note that the error object may not contain any errors. - */ + * Fires before the admin email confirm form. + * + * @since 5.3.0 + * + * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid + * credentials. Note that the error object may not contain any errors. + */ do_action( 'admin_email_confirm', $errors ); ?> @@ -634,10 +636,10 @@ switch ( $action ) {