Make WordPress Core

Ticket #41705: 41705.patch

File 41705.patch, 5.3 KB (added by ramiy, 8 years ago)
  • wp-admin/includes/class-core-upgrader.php

     
    2929                $this->strings['up_to_date'] = __('WordPress is at the latest version.');
    3030                $this->strings['locked'] = __('Another update is currently in progress.');
    3131                $this->strings['no_package'] = __('Update package not available.');
    32                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
     32                $this->strings['downloading_package'] = __('Downloading update from %s&#8230;');
    3333                $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    3434                $this->strings['copy_failed'] = __('Could not copy files.');
    3535                $this->strings['copy_failed_space'] = __('Could not copy files. You may have run out of disk space.' );
  • wp-admin/includes/class-language-pack-upgrader.php

     
    112112                $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update them as well.' );
    113113                $this->strings['up_to_date'] = __( 'The translations are up to date.' );
    114114                $this->strings['no_package'] = __( 'Update package not available.' );
    115                 $this->strings['downloading_package'] = __( 'Downloading translation from <span class="code">%s</span>&#8230;' );
     115                $this->strings['downloading_package'] = __( 'Downloading translation from %s&#8230;' );
    116116                $this->strings['unpack_package'] = __( 'Unpacking the update&#8230;' );
    117117                $this->strings['process_failed'] = __( 'Translation update failed.' );
    118118                $this->strings['process_success'] = __( 'Translation updated successfully.' );
  • wp-admin/includes/class-plugin-upgrader.php

     
    4646        public function upgrade_strings() {
    4747                $this->strings['up_to_date'] = __('The plugin is at the latest version.');
    4848                $this->strings['no_package'] = __('Update package not available.');
    49                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
     49                $this->strings['downloading_package'] = __('Downloading update from %s&#8230;');
    5050                $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    5151                $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;');
    5252                $this->strings['remove_old_failed'] = __('Could not remove the old plugin.');
     
    6262         */
    6363        public function install_strings() {
    6464                $this->strings['no_package'] = __('Installation package not available.');
    65                 $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>&#8230;');
     65                $this->strings['downloading_package'] = __('Downloading installation package from %s&#8230;');
    6666                $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    6767                $this->strings['installing_package'] = __('Installing the plugin&#8230;');
    6868                $this->strings['no_files'] = __('The plugin contains no files.');
  • wp-admin/includes/class-theme-upgrader.php

     
    4545        public function upgrade_strings() {
    4646                $this->strings['up_to_date'] = __('The theme is at the latest version.');
    4747                $this->strings['no_package'] = __('Update package not available.');
    48                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
     48                $this->strings['downloading_package'] = __('Downloading update from %s&#8230;');
    4949                $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    5050                $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;');
    5151                $this->strings['remove_old_failed'] = __('Could not remove the old theme.');
     
    6060         */
    6161        public function install_strings() {
    6262                $this->strings['no_package'] = __('Installation package not available.');
    63                 $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>&#8230;');
     63                $this->strings['downloading_package'] = __('Downloading installation package from %s&#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.');
  • wp-admin/includes/class-wp-upgrader.php

     
    261261                if ( empty($package) )
    262262                        return new WP_Error('no_package', $this->strings['no_package']);
    263263
    264                 $this->skin->feedback('downloading_package', $package);
     264                $this->skin->feedback('downloading_package', '<span class="code">' . $package . '</span>' );
    265265
    266266                $download_file = download_url($package);
    267267