Make WordPress Core

Changeset 33245


Ignore:
Timestamp:
07/13/2015 10:14:45 PM (9 years ago)
Author:
DrewAPicture
Message:

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

Also update the filter summary to reflect that the file is for an "email" change, not a "password" change.

See [32820]. See #32891.

File:
1 edited

Legend:

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

    r33244 r33245  
    22762276
    22772277            /**
    2278              * Filter the email sent when the user's password is changed.
     2278             * Filter the contents of the email sent when the user's email is changed.
    22792279             *
    22802280             * @since 4.3.0
    22812281             *
    22822282             * @param array $email_change_email {
    2283              *            Used to build wp_mail(). https://developer.wordpress.org/reference/functions/wp_mail/
     2283             *            Used to build wp_mail().
    22842284             *            @type string $to      The intended recipients.
    22852285             *            @type string $subject The subject of the email.
    22862286             *            @type string $message The content of the email.
    22872287             *                The following strings have a special meaning and will get replaced dynamically:
    2288              *                ###USERNAME###    The current user's username.
    2289              *                ###ADMIN_EMAIL### The admin email in case this was unexpected.
    2290              *                ###EMAIL###       The old email.
    2291              *                ###SITENAME###    The name of the site.
    2292              *                ###SITEURL###     The URL to the site.
     2288             *                - ###USERNAME###    The current user's username.
     2289             *                - ###ADMIN_EMAIL### The admin email in case this was unexpected.
     2290             *                - ###EMAIL###       The old email.
     2291             *                - ###SITENAME###    The name of the site.
     2292             *                - ###SITEURL###     The URL to the site.
    22932293             *            @type string $headers Headers.
    22942294             *        }
Note: See TracChangeset for help on using the changeset viewer.