Ticket #36612: 36612.2.diff
| File 36612.2.diff, 1.3 KB (added by , 8 years ago) |
|---|
-
src/wp-admin/includes/theme.php
715 715 <# if ( data.stars && 0 != data.num_ratings ) { #> 716 716 <div class="theme-rating"> 717 717 {{{ data.stars }}} 718 < span class="num-ratings">718 <a class="num-ratings" target="_blank" href="{{ data.reviews_url }}"> 719 719 <?php 720 720 /* translators: %s: number of ratings */ 721 echo sprintf( __( '(%s ratings )' ), '{{ data.num_ratings }}' );721 echo sprintf( __( '(%s ratings <span class="screen-reader-text">link to view ratings opens in a new tab</span>)' ), '{{ data.num_ratings }}' ); 722 722 ?> 723 </ span>723 </a> 724 724 </div> 725 725 <# } #> 726 726 -
src/wp-includes/class-wp-customize-manager.php
5618 5618 // Arguments for all queries. 5619 5619 $wporg_args = array( 5620 5620 'per_page' => 100, 5621 'fields' => array( 5622 'reviews_url' => true, // Explicitly request the reviews URL to be linked from the customizer. 5623 ), 5621 5624 ); 5622 5625 5623 5626 $args = array_merge( $wporg_args, $args );