diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php
index ef61aeb..6aaa898 100644
|
a
|
b
|
function install_plugin_information() {
|
| 326 | 326 | $api = plugins_api( 'plugin_information', array( |
| 327 | 327 | 'slug' => wp_unslash( $_REQUEST['plugin'] ), |
| 328 | 328 | 'is_ssl' => is_ssl(), |
| 329 | | 'fields' => array( 'banners' => true, 'reviews' => true ) |
| | 329 | 'fields' => array( 'banners' => true ) |
| 330 | 330 | ) ); |
| 331 | 331 | |
| 332 | 332 | if ( is_wp_error( $api ) ) { |
| … |
… |
function install_plugin_information() {
|
| 348 | 348 | 'faq' => _x( 'FAQ', 'Plugin installer section title' ), |
| 349 | 349 | 'screenshots' => _x( 'Screenshots', 'Plugin installer section title' ), |
| 350 | 350 | 'changelog' => _x( 'Changelog', 'Plugin installer section title' ), |
| 351 | | 'reviews' => _x( 'Reviews', 'Plugin installer section title' ), |
| 352 | 351 | 'other_notes' => _x( 'Other Notes', 'Plugin installer section title' ) |
| 353 | 352 | ); |
| 354 | 353 | |
| … |
… |
function install_plugin_information() {
|
| 398 | 397 | echo "<div id='{$_tab}-tabs' class='{$_with_banner}'>\n"; |
| 399 | 398 | |
| 400 | 399 | foreach ( (array) $api->sections as $section_name => $content ) { |
| 401 | | if ( 'reviews' === $section_name && ( empty( $api->ratings ) || 0 === array_sum( (array) $api->ratings ) ) ) { |
| 402 | | continue; |
| 403 | | } |
| 404 | | |
| 405 | 400 | if ( isset( $plugins_section_titles[ $section_name ] ) ) { |
| 406 | 401 | $title = $plugins_section_titles[ $section_name ]; |
| 407 | 402 | } else { |