WordPress.org

Make WordPress Core

Ticket #15656: 15156.diff

File 15156.diff, 2.6 KB (added by michaelh, 7 years ago)
  • wp-admin/includes/media.php

     
    15441544        <div class="clear"></div>
    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); ?>
    15501550</div>
  • wp-admin/includes/theme.php

     
    239239                $theme_name = is_object($theme) ? $theme->name : (is_array($theme) ? $theme['Name'] : '');
    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() ) {
    245245                        if ( ! current_user_can('update_themes') )
  • wp-admin/update.php

     
    5151
    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';
    5757                require_once(ABSPATH . 'wp-admin/admin-header.php');
     
    155155
    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';
    161161                require_once(ABSPATH . 'wp-admin/admin-header.php');