From 1ecb1f0e8b1153c6984dcb4c583e2d5fa48415b0 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 14 Jul 2014 20:28:15 +0000 Subject: [PATCH] Remove unused variable in `WP_Theme_Install_List_Table::install_theme_info()`. Unused since [26380]. props Corphi. fixes #28749. Built from https://develop.svn.wordpress.org/trunk@29173 git-svn-id: http://core.svn.wordpress.org/trunk@28957 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-theme-install-list-table.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index c7c67df405..585b62acc0 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -343,8 +343,6 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { $name = wp_kses( $theme->name, $themes_allowedtags ); $author = wp_kses( $theme->author, $themes_allowedtags ); - $num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) ); - $install_url = add_query_arg( array( 'action' => 'install-theme', 'theme' => $theme->slug,