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' );