Changeset 43571 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r43569 r43571 289 289 } 290 290 echo wp_generate_tag_cloud( 291 $tags, array( 291 $tags, 292 array( 292 293 'single_text' => __( '%s plugin' ), 293 294 'multiple_text' => __( '%s plugins' ), … … 332 333 */ 333 334 function install_plugins_upload() { 334 ?>335 ?> 335 336 <div class="upload-plugin"> 336 337 <p class="install-help"><?php _e( 'If you have a plugin in a .zip format, you may install it by uploading it here.' ); ?></p> … … 342 343 </form> 343 344 </div> 344 <?php345 <?php 345 346 } 346 347 … … 502 503 503 504 $api = plugins_api( 504 'plugin_information', array( 505 'slug' => wp_unslash( $_REQUEST['plugin'] ), 505 'plugin_information', 506 array( 507 'slug' => wp_unslash( $_REQUEST['plugin'] ), 506 508 ) 507 509 ); … … 691 693 ) 692 694 ); 693 ?>695 ?> 694 696 <p aria-hidden="true" class="fyi-description"><?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $api->num_ratings ), number_format_i18n( $api->num_ratings ) ); ?></p> 695 <?php697 <?php 696 698 } 697 699 698 700 if ( ! empty( $api->ratings ) && array_sum( (array) $api->ratings ) > 0 ) { 699 701 ?> 700 702 <h3><?php _e( 'Reviews' ); ?></h3> 701 703 <p class="fyi-description"><?php _e( 'Read all reviews on WordPress.org or write your own!' ); ?></p> … … 727 729 } 728 730 if ( ! empty( $api->contributors ) ) { 729 731 ?> 730 732 <h3><?php _e( 'Contributors' ); ?></h3> 731 733 <ul class="contributors"> … … 739 741 740 742 $contrib_profile = esc_url( $contrib_details['profile'] ); 741 $contrib_avatar = esc_url( add_query_arg( 's', '36', $contrib_details['avatar'] ) );743 $contrib_avatar = esc_url( add_query_arg( 's', '36', $contrib_details['avatar'] ) ); 742 744 743 745 echo "<li><a href='{$contrib_profile}' target='_blank'><img src='{$contrib_avatar}' width='18' height='18' alt='' />{$contrib_name}</a></li>";
Note: See TracChangeset
for help on using the changeset viewer.