Changeset 5697
- Timestamp:
- 07/19/2017 04:10:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r5570 r5697 672 672 // Set up custom queries for the /browse/ URLs 673 673 switch ( $wp_query->get( 'browse' ) ) { 674 case 'beta': 675 $wp_query->query_vars['meta_key'] = 'last_updated'; 676 $wp_query->query_vars['orderby'] = 'meta_value'; 677 $wp_query->query_vars['order'] = 'DESC'; 678 break; 674 679 case 'favorites': 675 680 $favorites_user = wp_get_current_user();
Note: See TracChangeset
for help on using the changeset viewer.