Ticket #29220: 29220.2.diff
File 29220.2.diff, 1.4 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/plugin-install.php
457 457 <div class="counter-container"> 458 458 <a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $api->slug . '&section=reviews' ) ); ?>" 459 459 title="<?php echo esc_attr( sprintf( _n( 'Click to see reviews that provided a rating of %d star', 'Click to see reviews that provided a rating of %d stars', $key ), $key ) ); ?>"> 460 <span class="counter-label"><?php echo $key; ?> stars</span>460 <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></span> 461 461 <span class="counter-back"> 462 462 <span class="counter-bar" style="width: <?php echo 92 * $_rating; ?>px;"></span> 463 463 </span> 464 464 </a> 465 <span class="counter-count"><?php echo $ratecount; ?></span>465 <span class="counter-count"><?php echo number_format_i18n( $ratecount ); ?></span> 466 466 </div> 467 467 <?php 468 468 } -
wp-admin/css/common.css
2325 2325 #plugin-information .counter-label { 2326 2326 float: left; 2327 2327 margin-right: 5px; 2328 min-width: 40px; 2328 2329 } 2329 2330 2330 2331 #plugin-information .counter-back {