WordPress.org

Make WordPress Core

Changeset 33244


Ignore:
Timestamp:
07/13/2015 10:10:49 PM (6 years ago)
Author:
DrewAPicture
Message:

Fix the inline documentation syntax in the hook docs for the password_change_email filter, introduced in 4.3.

See [32820]. See #32891.

File:
1 edited

Legend:

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

    r33243 r33244  
    22212221
    22222222            /**
    2223              * Filter the email sent when the user's password is changed.
     2223             * Filter the contents of the email sent when the user's password is changed.
    22242224             *
    22252225             * @since 4.3.0
    22262226             *
    22272227             * @param array $pass_change_email {
    2228              *            Used to build wp_mail(). https://developer.wordpress.org/reference/functions/wp_mail/
     2228             *            Used to build wp_mail().
    22292229             *            @type string $to      The intended recipients. Add emails in a comma separated string.
    22302230             *            @type string $subject The subject of the email.
    22312231             *            @type string $message The content of the email.
    22322232             *                The following strings have a special meaning and will get replaced dynamically:
    2233              *                ###USERNAME###    The current user's username.
    2234              *                ###ADMIN_EMAIL### The admin email in case this was unexpected.
    2235              *                ###EMAIL###       The old email.
    2236              *                ###SITENAME###    The name of the site.
    2237              *                ###SITEURL###     The URL to the site.
    2238              *            @type  string $headers Headers. Add headers in a newline (\r\n) separated string.
     2233             *                - ###USERNAME###    The current user's username.
     2234             *                - ###ADMIN_EMAIL### The admin email in case this was unexpected.
     2235             *                - ###EMAIL###       The old email.
     2236             *                - ###SITENAME###    The name of the site.
     2237             *                - ###SITEURL###     The URL to the site.
     2238             *            @type string $headers Headers. Add headers in a newline (\r\n) separated string.
    22392239             *        }
    2240              * @param array $user The original user array.
     2240             * @param array $user     The original user array.
    22412241             * @param array $userdata The updated user array.
    22422242             *
Note: See TracChangeset for help on using the changeset viewer.