Changeset 5396 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php
- Timestamp:
- 04/20/2017 04:01:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php
r5228 r5396 35 35 36 36 /** 37 * Returns the twolatest reviews of a specific plugin.37 * Returns the latest reviews of a specific plugin. 38 38 * 39 39 * @static … … 45 45 * @return array|false 46 46 */ 47 public static function get_plugin_reviews( $plugin_slug, $number = 2) {47 public static function get_plugin_reviews( $plugin_slug, $number = 6 ) { 48 48 $number = absint( $number ); 49 49 if ( $number < 1 || $number > 100 ) {
Note: See TracChangeset
for help on using the changeset viewer.