Changeset 26380 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 11/26/2013 02:24:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r25956 r26380 414 414 <?php if ( ! empty($api->rating) ) : ?> 415 415 <h2><?php _e('Average Rating') ?></h2> 416 <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)); ?>"> 417 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $api->rating ) ); ?>px"></div> 418 </div> 416 <?php wp_star_rating( array( 'rating' => $api->rating, 'type' => 'percent', 'number' => $api->num_ratings ) ); ?> 419 417 <small><?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?></small> 420 418 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.