Make WordPress Core


Ignore:
Timestamp:
08/04/2020 05:52:36 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Plugins: Move the "Successfully installed the plugin" string to the correct Plugin_Upgrader method.

The string refers to the installation, and belongs in the ::install_strings() method, not in ::upgrade_strings().

Props sswebster, nateinaction, SergeyBiryukov.
Fixes #50837.

File:
1 edited

Legend:

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

    r48685 r48734  
    164164        $this->skin->api = $api;
    165165
    166         $this->strings['process_success_specific'] = $this->strings['parent_theme_install_success']; //, $api->name, $api->version );
     166        $this->strings['process_success_specific'] = $this->strings['parent_theme_install_success'];
    167167
    168168        $this->skin->feedback( 'parent_theme_prepare_install', $api->name, $api->version );
Note: See TracChangeset for help on using the changeset viewer.