Make WordPress Core

Changeset 46837


Ignore:
Timestamp:
12/09/2019 01:08:53 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting for admin_email_confirm and admin_email_confirm_form hooks.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r46823 r46837  
    603603            /**
    604604             * Filters the interval for redirecting the user to the admin email confirmation screen.
     605             *
    605606             * If `0` (zero) is returned, the user will not be redirected.
    606607             *
    607608             * @since 5.3.0
    608609             *
    609              * @param int $interval Interval time (in seconds).
     610             * @param int $interval Interval time (in seconds). Default is 6 months.
    610611             */
    611612            $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
     
    622623
    623624        /**
    624         * Fires before the admin email confirm form.
    625         *
    626         * @since 5.3.0
    627         *
    628         * @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.
    629         */
     625         * Fires before the admin email confirm form.
     626         *
     627         * @since 5.3.0
     628         *
     629         * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid
     630         *                         credentials. Note that the error object may not contain any errors.
     631         */
    630632        do_action( 'admin_email_confirm', $errors );
    631633
     
    635637            <?php
    636638            /**
    637             * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
    638             *
    639             * @since 5.3.0
    640             */
     639             * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
     640             *
     641             * @since 5.3.0
     642             */
    641643            do_action( 'admin_email_confirm_form' );
    642644
Note: See TracChangeset for help on using the changeset viewer.