Changeset 20675
- Timestamp:
- 05/01/2012 10:09:55 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r20639 r20675 218 218 <td class="vers column-rating"<?php echo $style['rating']; ?>> 219 219 <div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 220 <div class="star star-rating" style="width: <?php echo esc_attr( $plugin['rating'] )?>px"></div>220 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $plugin['rating'] ) ); ?>px"></div> 221 221 <?php 222 222 $color = get_user_option('admin_color'); -
trunk/wp-admin/includes/plugin-install.php
r20639 r20675 343 343 <h2><?php _e('Average Rating') ?></h2> 344 344 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?>"> 345 <div class="star star-rating" style="width: <?php echo esc_attr( $api->rating)?>px"></div>345 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $api->rating ) ); ?>px"></div> 346 346 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div> 347 347 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div> -
trunk/wp-includes/category-template.php
r20656 r20675 673 673 $tag_name = $tags[ $key ]->name; 674 674 $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( call_user_func( $topic_count_text_callback, $real_count ) ) . "' style='font-size: " . 675 ( $smallest + ( ( $count - $min_count ) * $font_step) )675 str_replace( ',', '.', ( $smallest + ( ( $count - $min_count ) * $font_step ) ) ) 676 676 . "$unit;'>$tag_name</a>"; 677 677 }
Note: See TracChangeset
for help on using the changeset viewer.