Changeset 44975
- Timestamp:
- 03/21/2019 10:01:42 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r44924 r44975 3267 3267 array( 3268 3268 'per_page' => 20, 3269 'fields' => $theme_field_defaults, 3269 'fields' => array_merge( 3270 (array) $theme_field_defaults, 3271 array( 3272 'reviews_url' => true, // Explicitly request the reviews URL to be linked from the Add Themes screen. 3273 ) 3274 ), 3270 3275 ) 3271 3276 ); -
trunk/src/wp-admin/includes/theme.php
r44973 r44975 722 722 <div class="theme-rating"> 723 723 {{{ data.stars }}} 724 < span class="num-ratings">724 <a class="num-ratings" target="_blank" href="{{ data.reviews_url }}"> 725 725 <?php 726 726 /* translators: %s: number of ratings */ 727 echo sprintf( __( '(%s ratings) ' ), '{{ data.num_ratings }}' );727 echo sprintf( __( '(%s ratings) <span class="screen-reader-text">link to view ratings opens in a new tab</span>' ), '{{ data.num_ratings }}' ); 728 728 ?> 729 </ span>729 </a> 730 730 </div> 731 731 <# } #> -
trunk/src/wp-admin/theme-install.php
r43571 r44975 336 336 <div class="theme-rating"> 337 337 {{{ data.stars }}} 338 <span class="num-ratings">({{ data.num_ratings }})</span> 338 <a class="num-ratings" href="{{ data.reviews_url }}"> 339 <?php 340 /* translators: %s: number of ratings */ 341 echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' ); 342 ?> 343 </a> 339 344 </div> 340 345 <# } else { #> -
trunk/src/wp-includes/class-wp-customize-manager.php
r44785 r44975 5730 5730 $wporg_args = array( 5731 5731 'per_page' => 100, 5732 'fields' => array( 5733 'reviews_url' => true, // Explicitly request the reviews URL to be linked from the customizer. 5734 ), 5732 5735 ); 5733 5736
Note: See TracChangeset
for help on using the changeset viewer.