Make WordPress Core

Changeset 52605


Ignore:
Timestamp:
01/19/2022 12:40:57 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Docblocks consistency fixes after [52604].

Follow-up to [52604].

Fixes #54690.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r52604 r52605  
    29402940
    29412941    /**
    2942      * Filter whether to send the retrieve password email.
     2942     * Filters whether to send the retrieve password email.
    29432943     *
    29442944     * @since 6.0.0
    29452945     *
    2946      * @param bool $send False to prevent sending. Default: true
     2946     * @param bool $send False to prevent sending. Default true.
    29472947     */
    29482948    if ( ! apply_filters( 'send_retrieve_password_email', true ) ) {
     
    30403040
    30413041    /**
    3042      * Filter the contents of the reset password notification email sent to the user.
     3042     * Filters the contents of the reset password notification email sent to the user.
    30433043     *
    30443044     * @since 6.0.0
  • trunk/tests/phpunit/tests/user/retrievePassword.php

    r52604 r52605  
    1010 * Test retrieve_password(), in wp-includes/user.php.
    1111 *
     12 * @since 6.0.0
     13 *
    1214 * @group user
    13  *
    1415 * @covers ::retrieve_password
    1516 */
     
    2425    protected $user;
    2526
     27    /**
     28     * Create users for tests.
     29     *
     30     * @since 6.0.0
     31     */
    2632    public function set_up() {
    2733        parent::set_up();
     
    3743
    3844    /**
     45     * The function should error when the email was not sent.
    3946     * @ticket 54690
    4047     */
     
    4552
    4653    /**
     54     * The function should error when the email was not sent.
    4755     * @ticket 54690
    4856     */
Note: See TracChangeset for help on using the changeset viewer.