Make WordPress Core


Ignore:
Timestamp:
05/23/2016 04:43:20 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in root folder files to use third-person singular verbs per the inline documentation standards for PHP.

Fixes #36913.

File:
1 edited

Legend:

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

    r37474 r37535  
    4646    $shake_error_codes = array( 'empty_password', 'empty_email', 'invalid_email', 'invalidcombo', 'empty_username', 'invalid_username', 'incorrect_password' );
    4747    /**
    48      * Filter the error codes array for shaking the login form.
     48     * Filters the error codes array for shaking the login form.
    4949     *
    5050     * @since 3.0.0
     
    107107
    108108    /**
    109      * Filter link URL of the header logo above login form.
     109     * Filters link URL of the header logo above login form.
    110110     *
    111111     * @since 2.1.0
     
    114114     */
    115115    $login_header_url = apply_filters( 'login_headerurl', $login_header_url );
    116     /**
    117      * Filter the title attribute of the header logo above login form.
     116
     117    /**
     118     * Filters the title attribute of the header logo above login form.
    118119     *
    119120     * @since 2.1.0
     
    140141
    141142    /**
    142      * Filter the login page body classes.
     143     * Filters the login page body classes.
    143144     *
    144145     * @since 3.5.0
     
    167168
    168169    /**
    169      * Filter the message to display above the login form.
     170     * Filters the message to display above the login form.
    170171     *
    171172     * @since 2.1.0
     
    197198        if ( ! empty( $errors ) ) {
    198199            /**
    199              * Filter the error messages displayed above the login form.
     200             * Filters the error messages displayed above the login form.
    200201             *
    201202             * @since 2.1.0
     
    207208        if ( ! empty( $messages ) ) {
    208209            /**
    209              * Filter instructional messages displayed above the login form.
     210             * Filters instructional messages displayed above the login form.
    210211             *
    211212             * @since 2.5.0
     
    350351
    351352    /**
    352      * Filter the subject of the password reset email.
     353     * Filters the subject of the password reset email.
    353354     *
    354355     * @since 2.8.0
     
    362363
    363364    /**
    364      * Filter the message body of the password reset mail.
     365     * Filters the message body of the password reset mail.
    365366     *
    366367     * @since 2.8.0
     
    445446
    446447    /**
    447      * Filter the life span of the post password cookie.
     448     * Filters the life span of the post password cookie.
    448449     *
    449450     * By default, the cookie expires 10 days from creation. To turn this
     
    481482
    482483    /**
    483      * Filter the log out redirect URL.
     484     * Filters the log out redirect URL.
    484485     *
    485486     * @since 4.2.0
     
    515516    $lostpassword_redirect = ! empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
    516517    /**
    517      * Filter the URL redirected to after submitting the lostpassword/retrievepassword form.
     518     * Filters the URL redirected to after submitting the lostpassword/retrievepassword form.
    518519     *
    519520     * @since 3.0.0
     
    684685    if ( is_multisite() ) {
    685686        /**
    686          * Filter the Multisite sign up URL.
     687         * Filters the Multisite sign up URL.
    687688         *
    688689         * @since 3.0.0
     
    714715    $registration_redirect = ! empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
    715716    /**
    716      * Filter the registration redirect URL.
     717     * Filters the registration redirect URL.
    717718     *
    718719     * @since 3.0.0
     
    805806    $requested_redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
    806807    /**
    807      * Filter the login redirect URL.
     808     * Filters the login redirect URL.
    808809     *
    809810     * @since 3.0.0
     
    872873
    873874    /**
    874      * Filter the login page errors.
     875     * Filters the login page errors.
    875876     *
    876877     * @since 3.6.0
Note: See TracChangeset for help on using the changeset viewer.