WordPress.org

Making WordPress.org

Ticket #2632: 2632.diff

File 2632.diff, 715 bytes (added by brianhogg, 5 years ago)

Patch to remove the plugin homepage full reviews section

  • wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    diff --git wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
    index 60dd270..8c6c94e 100644
    class Plugin_Directory { 
    11111111                $content_pages = array(
    11121112                        'screenshots' => '[wporg-plugins-screenshots]',
    11131113                        'developers'  => '[wporg-plugins-developers]',
    1114                         'reviews'     => '[wporg-plugins-reviews]',
     1114                        'reviews'     => '',
    11151115                );
    11161116
    11171117                for ( $i = 0; $i < count( $_pages ); $i += 2 ) {