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/functions.php

    r41244 r41289  
    13891389
    13901390    /*
    1391      * Loop over the WP tables. If none exist, then scratch install is allowed.
     1391     * Loop over the WP tables. If none exist, then scratch installation is allowed.
    13921392     * If one or more exist, suggest table repair since we got here because the
    13931393     * options table could not be accessed.
     
    13951395    $wp_tables = $wpdb->tables();
    13961396    foreach ( $wp_tables as $table ) {
    1397         // The existence of custom user tables shouldn't suggest an insane state or prevent a clean install.
     1397        // The existence of custom user tables shouldn't suggest an insane state or prevent a clean installation.
    13981398        if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table )
    13991399            continue;
     
    43274327                // Request is hitting a file above ABSPATH
    43284328                $subdirectory = substr( $abspath_fix, strpos( $abspath_fix, $script_filename_dir ) + strlen( $script_filename_dir ) );
    4329                 // Strip off any file/query params from the path, appending the sub directory to the install
     4329                // Strip off any file/query params from the path, appending the sub directory to the installation
    43304330                $path = preg_replace( '#/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] ) . $subdirectory;
    43314331            } else {
     
    44094409
    44104410/**
    4411  * Determine whether a network is the main network of the Multisite install.
     4411 * Determine whether a network is the main network of the Multisite installation.
    44124412 *
    44134413 * @since 3.7.0
Note: See TracChangeset for help on using the changeset viewer.