mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Use %s, not %d, for number format output. Props nbachiyski. fixes #8136
git-svn-id: https://develop.svn.wordpress.org/trunk@9591 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -338,7 +338,7 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
|
||||
<td class="name"><?php echo $title; ?></td>
|
||||
<td class="vers"><?php echo $version; ?></td>
|
||||
<td class="vers">
|
||||
<div class="star-holder" title="<?php printf(__ngettext('(based on %d rating)', '(based on %d ratings)', $plugin['num_ratings']), number_format_i18n($plugin['num_ratings'])) ?>">
|
||||
<div class="star-holder" title="<?php printf(__ngettext('(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings']), number_format_i18n($plugin['num_ratings'])) ?>">
|
||||
<div class="star star-rating" style="width: <?php echo attribute_escape($plugin['rating']) ?>px"></div>
|
||||
<div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div>
|
||||
<div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div>
|
||||
@@ -867,4 +867,4 @@ function wp_install_plugin_local_package($package, $feedback = '') {
|
||||
return $folder . $pluginfiles[0];
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user