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
This commit is contained in:
parent
e76722f70f
commit
ed126e5f52
@ -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 ) {
|
||||
<form class="admin-email-confirm-form" name="admin-email-confirm-form" action="<?php echo esc_url( site_url( 'wp-login.php?action=confirm_admin_email', 'login_post' ) ); ?>" method="post">
|
||||
<?php
|
||||
/**
|
||||
* Fires inside the admin-email-confirm-form form tags, before the hidden fields.
|
||||
*
|
||||
* @since 5.3.0
|
||||
*/
|
||||
* Fires inside the admin-email-confirm-form form tags, before the hidden fields.
|
||||
*
|
||||
* @since 5.3.0
|
||||
*/
|
||||
do_action( 'admin_email_confirm_form' );
|
||||
|
||||
wp_nonce_field( 'confirm_admin_email', 'confirm_admin_email_nonce' );
|
||||
|
Loading…
Reference in New Issue
Block a user