diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 0de605af9b..4e6182bb56 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -249,7 +249,7 @@ add_action('install_themes_upload', 'install_themes_upload', 10, 1); function install_themes_upload($page = 1) { ?>

-

+

'; - echo '

', sprintf( __('Installing Theme from file: %s'), basename($filename) ), '

'; + echo '

', sprintf( __('Installing theme from file: %s'), basename($filename) ), '

'; //Handle a newly uploaded file, Else assume it was if ( !empty($_FILES) ) { @@ -524,7 +524,7 @@ function install_theme() { wp_die($api); echo '
'; - echo '

', sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ), '

'; + echo '

', sprintf( __('Installing theme: %s'), $api->name . ' ' . $api->version ), '

'; do_theme_install($api->download_link, $api); echo '
'; @@ -543,7 +543,7 @@ function do_theme_install($download_url, $theme_information = null) { global $wp_filesystem; if ( empty($download_url) ) { - show_message( __('No theme Specified') ); + show_message( __('No theme specified') ); return; } @@ -578,7 +578,7 @@ function do_theme_install($download_url, $theme_information = null) { $install_actions = apply_filters('install_theme_complete_actions', array( //'activate_theme' => '' . __('Activate Theme') . '', - 'themes_page' => '' . __('Return to Themes page') . '' + 'themes_page' => '' . __('Return to Themes page') . '' ), $theme_information, $theme_file); if ( ! empty($install_actions) ) show_message('' . __('Actions:') . ' ' . implode(' | ', (array)$install_actions)); @@ -598,7 +598,7 @@ function do_theme_install_local_package($package, $filename = '') { global $wp_filesystem; if ( empty($package) ) { - show_message( __('No theme Specified') ); + show_message( __('No theme specified') ); return; } @@ -669,12 +669,12 @@ function wp_install_theme($package, $feedback = '') { // Get the base theme folder $themes_dir = $wp_filesystem->wp_themes_dir(); if ( empty($themes_dir) ) - return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress Theme directory.')); + return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress themes directory.')); // And the same for the Content directory. $content_dir = $wp_filesystem->wp_content_dir(); if ( empty($content_dir) ) - return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress Content directory (wp-content).')); + return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress content directory (wp-content).')); $themes_dir = trailingslashit( $themes_dir ); $content_dir = trailingslashit( $content_dir ); @@ -769,12 +769,12 @@ function wp_install_theme_local_package($package, $feedback = '') { //Get the base theme folder $themes_dir = $wp_filesystem->wp_themes_dir(); if ( empty($themes_dir) ) - return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress Theme directory.')); + return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress themes directory.')); //And the same for the Content directory. $content_dir = $wp_filesystem->wp_content_dir(); if ( empty($content_dir) ) - return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress Content directory (wp-content).')); + return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress content directory (wp-content).')); $themes_dir = trailingslashit( $themes_dir ); $content_dir = trailingslashit( $content_dir );