diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 6ec7966cd7..161f67c58b 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -122,9 +122,8 @@ function install_theme_search($page) { add_action('install_themes_dashboard', 'install_themes_dashboard'); function install_themes_dashboard() { ?> -
WordPress Theme Directory or upload a theme in .zip format via this page.') ?>
+ - ' . __('[need help?]') . '') ?>
@@ -133,13 +132,8 @@ function install_themes_dashboard() {
Author: Searches for themes created by the Author, or which the Author contributed to.') ?>
- | - | - | - | - |
---|---|---|---|---|
- | - | - | - | - | ', __('No themes match your request.'), ' | '; - - foreach( (array) $themes as $theme ){ - if ( is_object($theme) ) - $theme = (array) $theme; - - $title = wp_kses($theme['name'], $themes_allowedtags); - $description = wp_kses($theme['description'], $themes_allowedtags); - $version = wp_kses($theme['version'], $themes_allowedtags); - - $name = strip_tags($title . ' ' . $version); - - $author = $theme['author']; - if( ! empty($theme['author']) ) - $author = ' ' . sprintf( __('By %s'), $author ) . '.'; - - $author = wp_kses($author, $themes_allowedtags); - - if( isset($theme['homepage']) ) - $title = '' . $title . ''; - - $action_links = array(); - $action_links[] = '' . __('Install') . ''; - - $action_links = apply_filters('theme_install_action_links', $action_links, $theme); - ?> -
- | - |
-
-
-
-
-
-
-
-
- |
- - | - |