From da4a8f56f5ff3db18bb37d3cb4a79c7f69049bfa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Jan 2015 23:17:22 +0000 Subject: [PATCH] Theme install: Display an appropriate string if theme has not been rated yet. props kevdotbadger, valendesigns. fixes #28147. Built from https://develop.svn.wordpress.org/trunk@31072 git-svn-id: http://core.svn.wordpress.org/trunk@31053 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/theme-install.php | 22 ++++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index a4f018fd77..202557f73f 100644 --- a/wp-admin/theme-install.php +++ b/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 }}}
diff --git a/wp-includes/version.php b/wp-includes/version.php index 4a3ebb63ea..4a663db6b2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31071'; +$wp_version = '4.2-alpha-31072'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.