Make WordPress Core

Changeset 57289

Timestamp:
01/16/2024 04:04:27 AM (7 months ago)
Author:
peterwilsoncc
Message:

Docs: Format new_admin_email_content placeholders as a list.

Format the email placeholders for the new_admin_email_content hook as a list for clarity and to avoid parsing errors in docblock consumers.

Props dd32, shooper, stevenlinx.
Fixes #60262.

File:
1 edited

Legend:

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

    r57283 r57289  
    15001500     *
    15011501     * The following strings have a special meaning and will get replaced dynamically:
    1502      * ###USERNAME###  The current user's username.
    1503      * ###ADMIN_URL### The link to click on to confirm the email change.
    1504      * ###EMAIL###     The proposed new site admin email address.
    1505      * ###SITENAME###  The name of the site.
    1506      * ###SITEURL###   The URL to the site.
     1502     * ###USERNAME###  The current user's username.
     1503     * ###ADMIN_URL### The link to click on to confirm the email change.
     1504     * ###EMAIL###     The proposed new site admin email address.
     1505     * ###SITENAME###  The name of the site.
     1506     * ###SITEURL###   The URL to the site.
    15071507     *
    15081508     * @since MU (3.0.0)
Note: See TracChangeset for help on using the changeset viewer.