Ticket #992: meta-992.patch
File meta-992.patch, 1.4 KB (added by , 10 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
86 86 <ul> 87 87 <?php foreach ( range( 5, 1 ) as $stars ) : ?> 88 88 <li class="counter-container"> 89 <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=<?php echo $stars; ?>" title="<?php echo esc_attr( sprintf( _ _( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), $stars ) ); ?>">89 <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=<?php echo $stars; ?>" 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', $stars, 'wporg-themes' ), $stars ) ); ?>"> 90 90 <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $stars, 'wporg-themes' ), $stars ); ?></span> 91 91 <span class="counter-back"> 92 92 <span class="counter-bar" style="width: {{ 100 * data.ratings[<?php echo $stars; ?>] / data.num_ratings }}%;"></span>