From 37499b6169813b374d5a175ae61ec0a0d31d8fa4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Jan 2015 23:16:19 +0000 Subject: [PATCH] Theme install: Display an appropriate string if theme has not been rated yet. props kevdotbadger, valendesigns. fixes #28147. git-svn-id: https://develop.svn.wordpress.org/trunk@31072 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/theme-install.php | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index a4f018fd77..202557f73f 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -233,18 +233,20 @@ if ( $tab ) {
-
- - - - - - <# if ( data.num_ratings ) { #> - {{ data.num_ratings }} + <# if ( data.rating ) { #> +
+ + + + + + {{ data.num_ratings }} +
<# } else { #> - +
+ +
<# } #> -
{{{ data.description }}}