Make WordPress Core

Changeset 49028


Ignore:
Timestamp:
09/21/2020 04:44:35 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Correct the indentation for some array type docs.

See #50768

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r48160 r49028  
    4949     * @param object $current Response object for whether WordPress is current.
    5050     * @param array  $args {
    51      *        Optional. Arguments for upgrading WordPress core. Default empty array.
    52      *
    53      *        @type bool $pre_check_md5    Whether to check the file checksums before
    54      *                                     attempting the upgrade. Default true.
    55      *        @type bool $attempt_rollback Whether to attempt to rollback the chances if
    56      *                                     there is a problem. Default false.
    57      *        @type bool $do_rollback      Whether to perform this "upgrade" as a rollback.
    58      *                                     Default false.
     51     *     Optional. Arguments for upgrading WordPress core. Default empty array.
     52     *
     53     *     @type bool $pre_check_md5    Whether to check the file checksums before
     54     *                                  attempting the upgrade. Default true.
     55     *     @type bool $attempt_rollback Whether to attempt to rollback the chances if
     56     *                                  there is a problem. Default false.
     57     *     @type bool $do_rollback      Whether to perform this "upgrade" as a rollback.
     58     *                                  Default false.
    5959     * }
    6060     * @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure.
  • trunk/src/wp-includes/functions.php

    r48794 r49028  
    70737073     *
    70747074     * @param array $email_change_email {
    7075      *            Used to build wp_mail().
    7076      *
    7077      *            @type string $to      The intended recipient.
    7078      *            @type string $subject The subject of the email.
    7079      *            @type string $message The content of the email.
    7080      *                The following strings have a special meaning and will get replaced dynamically:
    7081      *                - ###OLD_EMAIL### The old site admin email address.
    7082      *                - ###NEW_EMAIL### The new site admin email address.
    7083      *                - ###SITENAME###  The name of the site.
    7084      *                - ###SITEURL###   The URL to the site.
    7085      *            @type string $headers Headers.
    7086      *        }
     7075     *     Used to build wp_mail().
     7076     *
     7077     *     @type string $to      The intended recipient.
     7078     *     @type string $subject The subject of the email.
     7079     *     @type string $message The content of the email.
     7080     *         The following strings have a special meaning and will get replaced dynamically:
     7081     *         - ###OLD_EMAIL### The old site admin email address.
     7082     *         - ###NEW_EMAIL### The new site admin email address.
     7083     *         - ###SITENAME###  The name of the site.
     7084     *         - ###SITEURL###   The URL to the site.
     7085     *     @type string $headers Headers.
     7086     * }
    70877087     * @param string $old_email The old site admin email address.
    70887088     * @param string $new_email The new site admin email address.
  • trunk/src/wp-includes/ms-functions.php

    r48601 r49028  
    28362836     *
    28372837     * @param array $email_change_email {
    2838      *            Used to build wp_mail().
    2839      *
    2840      *            @type string $to      The intended recipient.
    2841      *            @type string $subject The subject of the email.
    2842      *            @type string $message The content of the email.
    2843      *                The following strings have a special meaning and will get replaced dynamically:
    2844      *                - ###OLD_EMAIL### The old network admin email address.
    2845      *                - ###NEW_EMAIL### The new network admin email address.
    2846      *                - ###SITENAME###  The name of the network.
    2847      *                - ###SITEURL###   The URL to the site.
    2848      *            @type string $headers Headers.
    2849      *        }
     2838     *     Used to build wp_mail().
     2839     *
     2840     *     @type string $to      The intended recipient.
     2841     *     @type string $subject The subject of the email.
     2842     *     @type string $message The content of the email.
     2843     *         The following strings have a special meaning and will get replaced dynamically:
     2844     *         - ###OLD_EMAIL### The old network admin email address.
     2845     *         - ###NEW_EMAIL### The new network admin email address.
     2846     *         - ###SITENAME###  The name of the network.
     2847     *         - ###SITEURL###   The URL to the site.
     2848     *     @type string $headers Headers.
     2849     * }
    28502850     * @param string $old_email  The old network admin email address.
    28512851     * @param string $new_email  The new network admin email address.
  • trunk/src/wp-includes/user.php

    r48782 r49028  
    20502050             *
    20512051             * @param array $pass_change_email {
    2052              *            Used to build wp_mail().
     2052             *     Used to build wp_mail().
    20532053             *
    2054              *            @type string $to      The intended recipients. Add emails in a comma separated string.
    2055              *            @type string $subject The subject of the email.
    2056              *            @type string $message The content of the email.
    2057              *                The following strings have a special meaning and will get replaced dynamically:
    2058              *                - ###USERNAME###    The current user's username.
    2059              *                - ###ADMIN_EMAIL### The admin email in case this was unexpected.
    2060              *                - ###EMAIL###       The user's email address.
    2061              *                - ###SITENAME###    The name of the site.
    2062              *                - ###SITEURL###     The URL to the site.
    2063              *            @type string $headers Headers. Add headers in a newline (\r\n) separated string.
    2064              *        }
     2054             *     @type string $to      The intended recipients. Add emails in a comma separated string.
     2055             *     @type string $subject The subject of the email.
     2056             *     @type string $message The content of the email.
     2057             *         The following strings have a special meaning and will get replaced dynamically:
     2058             *         - ###USERNAME###    The current user's username.
     2059             *         - ###ADMIN_EMAIL### The admin email in case this was unexpected.
     2060             *         - ###EMAIL###       The user's email address.
     2061             *         - ###SITENAME###    The name of the site.
     2062             *         - ###SITEURL###     The URL to the site.
     2063             *     @type string $headers Headers. Add headers in a newline (\r\n) separated string.
     2064             * }
    20652065             * @param array $user     The original user array.
    20662066             * @param array $userdata The updated user array.
     
    21082108             *
    21092109             * @param array $email_change_email {
    2110              *            Used to build wp_mail().
     2110             *     Used to build wp_mail().
    21112111             *
    2112              *            @type string $to      The intended recipients.
    2113              *            @type string $subject The subject of the email.
    2114              *            @type string $message The content of the email.
    2115              *                The following strings have a special meaning and will get replaced dynamically:
    2116              *                - ###USERNAME###    The current user's username.
    2117              *                - ###ADMIN_EMAIL### The admin email in case this was unexpected.
    2118              *                - ###NEW_EMAIL###   The new email address.
    2119              *                - ###EMAIL###       The old email address.
    2120              *                - ###SITENAME###    The name of the site.
    2121              *                - ###SITEURL###     The URL to the site.
    2122              *            @type string $headers Headers.
    2123              *        }
     2112             *     @type string $to      The intended recipients.
     2113             *     @type string $subject The subject of the email.
     2114             *     @type string $message The content of the email.
     2115             *         The following strings have a special meaning and will get replaced dynamically:
     2116             *         - ###USERNAME###    The current user's username.
     2117             *         - ###ADMIN_EMAIL### The admin email in case this was unexpected.
     2118             *         - ###NEW_EMAIL###   The new email address.
     2119             *         - ###EMAIL###       The old email address.
     2120             *         - ###SITENAME###    The name of the site.
     2121             *         - ###SITEURL###     The URL to the site.
     2122             *     @type string $headers Headers.
     2123             * }
    21242124             * @param array $user     The original user array.
    21252125             * @param array $userdata The updated user array.
Note: See TracChangeset for help on using the changeset viewer.