WordPress.org

Make WordPress Core

Ticket #14462: 14462.patch

File 14462.patch, 2.4 KB (added by johnbillion, 5 years ago)
  • wp-admin/includes/class-wp-upgrader.php

     
    10801080        } 
    10811081 
    10821082        function add_strings() { 
    1083                 $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take awhile on some hosts, so please be patient.'); 
     1083                $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take a while on some hosts, so please be patient.'); 
    10841084                $this->upgrader->strings['skin_update_failed_error'] = __('An error occured while updating %1$s: <strong>%2$s</strong>.'); 
    10851085                $this->upgrader->strings['skin_update_failed'] = __('The update of %1$s failed.'); 
    10861086                $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully.').' <a onclick="%2$s" href="#" class="hide-if-no-js"><span>'.__('Show Details').'</span><span class="hidden">'.__('Hide Details').'</span>.</a>'; 
  • wp-admin/maint/repair.php

     
    7878        } 
    7979} else { 
    8080        if ( isset($_GET['referrer']) && 'is_blog_installed' == $_GET['referrer'] ) 
    81                 _e('One or more database tables is unavailable.  To allow WordPress to attempt to repair these tables, press the "Repair Database" button. Repairing can take awhile, so please be patient.'); 
     81                _e('One or more database tables is unavailable.  To allow WordPress to attempt to repair these tables, press the "Repair Database" button. Repairing can take a while, so please be patient.'); 
    8282        else 
    83                 _e('WordPress can automatically look for some common database problems and repair them.  Repairing can take awhile, so please be patient.') 
     83                _e('WordPress can automatically look for some common database problems and repair them.  Repairing can take a while, so please be patient.') 
    8484?> 
    8585        <p class="step"><a class="button" href="<?php echo wp_nonce_url('repair.php?repair=1', 'repair_db') ?>"><?php _e( 'Repair Database' ); ?></a></p> 
    8686        <?php _e('WordPress can also attempt to optimize the database.  This improves performance in some situations.  Repairing and optimizing the database can take a long time and the database will be locked while optimizing.'); ?>