Make WordPress Core


Ignore:
Timestamp:
04/21/2025 11:47:11 AM (9 months ago)
Author:
johnbillion
Message:

Docs: Improve and standardise the format of placeholder strings that get replaced within email messages.

This prevents the strings being treated as h3 headings by the documentation parser on developer.wordpress.org.

See #63166

File:
1 edited

Legend:

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

    r60153 r60178  
    28172817     *
    28182818     * The following strings have a special meaning and will get replaced dynamically:
    2819      * ###USERNAME###  The current user's username.
    2820      * ###ADMIN_URL### The link to click on to confirm the email change.
    2821      * ###EMAIL###     The proposed new network admin email address.
    2822      * ###SITENAME###  The name of the network.
    2823      * ###SITEURL###   The URL to the network.
     2819     *
     2820     *  - `###USERNAME###`  The current user's username.
     2821     *  - `###ADMIN_URL###` The link to click on to confirm the email change.
     2822     *  - `###EMAIL###`     The proposed new network admin email address.
     2823     *  - `###SITENAME###`  The name of the network.
     2824     *  - `###SITEURL###`   The URL to the network.
    28242825     *
    28252826     * @since 4.9.0
     
    29282929     *     @type string $message The content of the email.
    29292930     *         The following strings have a special meaning and will get replaced dynamically:
    2930      *         - ###OLD_EMAIL### The old network admin email address.
    2931      *         - ###NEW_EMAIL### The new network admin email address.
    2932      *         - ###SITENAME###  The name of the network.
    2933      *         - ###SITEURL###   The URL to the site.
     2931     *          - `###OLD_EMAIL###` The old network admin email address.
     2932     *          - `###NEW_EMAIL###` The new network admin email address.
     2933     *          - `###SITENAME###`  The name of the network.
     2934     *          - `###SITEURL###`   The URL to the site.
    29342935     *     @type string $headers Headers.
    29352936     * }
Note: See TracChangeset for help on using the changeset viewer.