From 4d6759dcf5ddeed7dd7077096c18602260e73bd7 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Mon, 14 Jul 2014 20:27:37 +0000 Subject: [PATCH] Remove unused variable in `WP_Theme_Install_List_Table::install_theme_info()`. Unused since [26380]. props Corphi. fixes #28749. git-svn-id: https://develop.svn.wordpress.org/trunk@29173 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-theme-install-list-table.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php index c7c67df405..585b62acc0 100644 --- a/src/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/src/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,