Make WordPress Core

Changeset 14995


Ignore:
Timestamp:
05/27/2010 03:51:34 PM (15 years ago)
Author:
nacin
Message:

Some string improvements in update-core.php. props jane.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r14989 r14995  
    128128    if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
    129129        echo '<h3>';
    130         _e('You have the latest version of WordPress. You do not need to update');
     130        _e('You have the latest version of WordPress.');
    131131        echo '</h3>';
    132132    } else {
     
    136136
    137137        echo '<h3 class="response">';
    138         _e( 'An updated version of WordPress is available' );
     138        _e( 'An updated version of WordPress is available.' );
    139139        echo '</h3>';
    140140    }
     
    150150    }
    151151    echo '</ul>';
     152    echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>';
    152153    dismissed_updates();
    153154
     
    165166    require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
    166167    $plugins = get_plugin_updates();
    167     if ( empty($plugins) )
    168         return;
     168    if ( empty( $plugins ) ) {
     169        echo '<h3>' . __( 'Plugins' ) . '</h3>';
     170        echo '<p>' . __( 'Your plugins are all up to date.' ) . '</p>';
     171        return;
     172    }
    169173    $form_action = 'update-core.php?action=do-plugin-upgrade';
    170174
     
    238242function list_theme_updates() {
    239243    $themes = get_theme_updates();
    240     if ( empty($themes) )
    241         return;
     244    if ( empty( $themes ) ) {
     245        echo '<h3>' . __( 'Themes' ) . '</h3>';
     246        echo '<p>' . __( 'Your themes are all up to date.' ) . '</p>';
     247        return;
     248    }
    242249
    243250    $form_action = 'update-core.php?action=do-theme-upgrade';
Note: See TracChangeset for help on using the changeset viewer.