Make WordPress Core

Changeset 16701


Ignore:
Timestamp:
12/03/2010 09:16:28 AM (14 years ago)
Author:
scribu
Message:

More s/upgrade/update. Props michaelh. See #15656

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r16687 r16701  
    15451545    <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p>
    15461546    <?php if ( is_lighttpd_before_150() ): ?>
    1547     <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please upgrade to lighttpd 1.5.'); ?></p>
     1547    <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please update to lighttpd 1.5.'); ?></p>
    15481548    <?php endif;?>
    15491549<?php do_action('post-html-upload-ui', $flash); ?>
  • trunk/wp-admin/includes/theme.php

    r16699 r16701  
    240240        $details_url = add_query_arg(array('TB_iframe' => 'true', 'width' => 1024, 'height' => 800), $update['url']); //Theme browser inside WP? replace this, Also, theme preview JS will override this on the available list.
    241241        $update_url = wp_nonce_url('update.php?action=upgrade-theme&amp;theme=' . urlencode($stylesheet), 'upgrade-theme_' . $stylesheet);
    242         $update_onclick = 'onclick="if ( confirm(\'' . esc_js( __("Updating this theme will lose any customizations you have made.  'Cancel' to stop, 'OK' to upgrade.") ) . '\') ) {return true;}return false;"';
     242        $update_onclick = 'onclick="if ( confirm(\'' . esc_js( __("Updating this theme will lose any customizations you have made.  'Cancel' to stop, 'OK' to update.") ) . '\') ) {return true;}return false;"';
    243243
    244244        if ( !is_multisite() ) {
  • trunk/wp-admin/update.php

    r16221 r16701  
    5252        check_admin_referer('upgrade-plugin_' . $plugin);
    5353
    54         $title = __('Upgrade Plugin');
     54        $title = __('Update Plugin');
    5555        $parent_file = 'plugins.php';
    5656        $submenu_file = 'plugins.php';
     
    156156        add_thickbox();
    157157        wp_enqueue_script('theme-preview');
    158         $title = __('Upgrade Theme');
     158        $title = __('Update Theme');
    159159        $parent_file = 'themes.php';
    160160        $submenu_file = 'themes.php';
Note: See TracChangeset for help on using the changeset viewer.