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-admin/includes/class-theme-upgrader.php

    r41161 r41289  
    5555
    5656    /**
    57      * Initialize the install strings.
     57     * Initialize the installation strings.
    5858     *
    5959     * @since 2.8.0
    6060     */
    6161    public function install_strings() {
    62         $this->strings['no_package'] = __('Install package not available.');
    63         $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;');
     62        $this->strings['no_package'] = __('Installation package not available.');
     63        $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>&#8230;');
    6464        $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    6565        $this->strings['installing_package'] = __('Installing the theme&#8230;');
    6666        $this->strings['no_files'] = __('The theme contains no files.');
    67         $this->strings['process_failed'] = __('Theme install failed.');
     67        $this->strings['process_failed'] = __('Theme installation failed.');
    6868        $this->strings['process_success'] = __('Theme installed successfully.');
    6969        /* translators: 1: theme name, 2: version */
     
    111111        if ( ! $api || is_wp_error($api) ) {
    112112            $this->skin->feedback( 'parent_theme_not_found', $theme_info->get('Template') );
    113             // Don't show activate or preview actions after install
     113            // Don't show activate or preview actions after installation
    114114            add_filter('install_theme_complete_actions', array($this, 'hide_activate_preview_actions') );
    115115            return $install_result;
     
    181181     * }
    182182     *
    183      * @return bool|WP_Error True if the install was successful, false or a WP_Error object otherwise.
     183     * @return bool|WP_Error True if the installation was successful, false or a WP_Error object otherwise.
    184184     */
    185185    public function install( $package, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.