Making WordPress.org


Ignore:
Timestamp:
04/20/2017 04:01:15 PM (8 years ago)
Author:
Otto42
Message:

Plugin Directory: Raise default review count to 6 from 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php

    r5228 r5396  
    3535
    3636    /**
    37      * Returns the two latest reviews of a specific plugin.
     37     * Returns the latest reviews of a specific plugin.
    3838     *
    3939     * @static
     
    4545     * @return array|false
    4646     */
    47     public static function get_plugin_reviews( $plugin_slug, $number = 2 ) {
     47    public static function get_plugin_reviews( $plugin_slug, $number = 6 ) {
    4848        $number = absint( $number );
    4949        if ( $number < 1 || $number > 100 ) {
Note: See TracChangeset for help on using the changeset viewer.