Changeset 4559 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-popular-tags.php
- Timestamp:
- 12/19/2016 07:00:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-popular-tags.php
r4125 r4559 25 25 */ 26 26 function popular_tags( $request ) { 27 $terms = get_terms( 'plugin_tags', array( 'hide_empty' => false, 'orderby' => 'count', 'order' => 'DESC' ) ); 27 $terms = get_terms( 'plugin_tags', array( 28 'hide_empty' => true, 29 'orderby' => 'count', 30 'order' => 'DESC', 31 'number' => 1000 32 ) ); 28 33 29 34 $response = array();
Note: See TracChangeset
for help on using the changeset viewer.