Make WordPress Core


Ignore:
Timestamp:
08/22/2017 11:51:11 AM (7 years ago)
Author:
johnbillion
Message:

General: Improve terminology used when referring to installations of WordPress and its extensions.

"Install" is not a noun, and while it might be acceptable to use the verb as a noun, it is not correct. Using the correct
noun, "installation", increases clarity, especially for non-native English speakers.

This change fixes the usage in user-facing text and in developer documentation.

Fixes #41620

File:
1 edited

Legend:

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

    r41242 r41289  
    587587
    588588    /*
    589      * On sub dir installs, some names are so illegal, only a filter can
     589     * On sub dir installations, some names are so illegal, only a filter can
    590590     * spring them from jail.
    591591     */
     
    681681     *
    682682     *     @type string         $domain     Domain for the site.
    683      *     @type string         $path       Path for the site. Used in subdirectory installs.
     683     *     @type string         $path       Path for the site. Used in subdirectory installations.
    684684     *     @type string         $blogname   The unique site name (slug).
    685685     *     @type string         $blog_title Blog title.
     
    11651165 * for events that should affect all new sites.
    11661166 *
    1167  * On subdirectory installs, $domain is the same as the main site's
     1167 * On subdirectory installations, $domain is the same as the main site's
    11681168 * domain, and the path is the subdirectory name (eg 'example.com'
    1169  * and '/blog1/'). On subdomain installs, $domain is the new subdomain +
     1169 * and '/blog1/'). On subdomain installations, $domain is the new subdomain +
    11701170 * root domain (eg 'blog1.example.com'), and $path is '/'.
    11711171 *
     
    11811181 *                           updated. Otherwise, keys and values will be used to set options for
    11821182 *                           the new site. Default empty array.
    1183  * @param int    $network_id Optional. Network ID. Only relevant on multi-network installs.
     1183 * @param int    $network_id Optional. Network ID. Only relevant on multi-network installations.
    11841184 * @return int|WP_Error Returns WP_Error object on failure, the new site ID on success.
    11851185 */
     
    12411241     * @param string $domain     Site domain.
    12421242     * @param string $path       Site path.
    1243      * @param int    $network_id Network ID. Only relevant on multi-network installs.
     1243     * @param int    $network_id Network ID. Only relevant on multi-network installations.
    12441244     * @param array  $meta       Meta data. Used to set initial site options.
    12451245     */
     
    13531353 * @param string $domain     The domain to be checked.
    13541354 * @param string $path       The path to be checked.
    1355  * @param int    $network_id Optional. Network ID. Relevant only on multi-network installs.
     1355 * @param int    $network_id Optional. Network ID. Relevant only on multi-network installations.
    13561356 * @return int
    13571357 */
     
    13751375     * @param string   $domain     Domain to be checked.
    13761376     * @param string   $path       Path to be checked.
    1377      * @param int      $network_id Network ID. Relevant only on multi-network installs.
     1377     * @param int      $network_id Network ID. Relevant only on multi-network installations.
    13781378     */
    13791379    return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );
     
    13921392 * @param string $domain     The domain of the new site.
    13931393 * @param string $path       The path of the new site.
    1394  * @param int    $network_id Unless you're running a multi-network install, be sure to set this value to 1.
     1394 * @param int    $network_id Unless you're running a multi-network installation, be sure to set this value to 1.
    13951395 * @return int|false The ID of the new row
    13961396 */
     
    25712571
    25722572/**
    2573  * Retrieves a list of reserved site on a sub-directory Multisite install.
     2573 * Retrieves a list of reserved site on a sub-directory Multisite installation.
    25742574 *
    25752575 * @since 4.4.0
     
    25842584
    25852585    /**
    2586      * Filters reserved site names on a sub-directory Multisite install.
     2586     * Filters reserved site names on a sub-directory Multisite installation.
    25872587     *
    25882588     * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.