From 5829ccba9b8e4bd5ddcfc9b21bc1b0501299acf2 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 15 Oct 2014 17:21:43 +0000 Subject: [PATCH] Theme install: Remove unused strings. fixes #29488. git-svn-id: https://develop.svn.wordpress.org/trunk@29904 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/theme-install.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index fd8847c547..3f52894307 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -27,12 +27,6 @@ if ( ! is_network_admin() ) { $submenu_file = 'themes.php'; } -$sections = array( - 'featured' => __( 'Featured Themes' ), - 'popular' => __( 'Popular Themes' ), - 'new' => __( 'Newest Themes' ), -); - $installed_themes = search_theme_directories(); foreach ( $installed_themes as $k => $v ) { if ( false !== strpos( $k, '/' ) ) { @@ -57,9 +51,6 @@ wp_localize_script( 'theme', '_wpThemeSettings', array( 'error' => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) ), 'installedThemes' => array_keys( $installed_themes ), - 'browse' => array( - 'sections' => $sections, - ), ) ); wp_enqueue_script( 'theme' );