From 886ee992bebdab55c50e8379fd1f7d06ae3c642c Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 1 May 2012 22:09:55 +0000 Subject: [PATCH] Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points. In these cases, we want a period because it is going to be used by CSS. props SergeyBiryukov. fixes #19593. git-svn-id: http://core.svn.wordpress.org/trunk@20675 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 2 +- wp-admin/includes/plugin-install.php | 2 +- wp-includes/category-template.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 9335e96ba8..64a1ea7cca 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -217,7 +217,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { > >
-
+
rating) ) : ?>

-
+
<?php esc_attr_e('5 stars') ?>
<?php esc_attr_e('4 stars') ?>
<?php esc_attr_e('3 stars') ?>
diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 9062cffa55..2e23f8a3fe 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -672,7 +672,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key; $tag_name = $tags[ $key ]->name; $a[] = "$tag_name"; }