Changeset 3378
- Timestamp:
- 06/15/2016 08:30:23 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3377 r3378 447 447 if ( $wp_query->is_archive() && empty( $wp_query->query_vars['orderby'] ) ) { 448 448 $wp_query->query_vars['orderby'] = 'meta_value_num'; 449 $wp_query->query_vars['meta_key'] = ' active_installs';449 $wp_query->query_vars['meta_key'] = '_active_installs'; 450 450 } 451 451 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php
r3338 r3378 33 33 ); 34 34 35 if ( 'popular' === $browse ) :36 $section_args['meta_key'] = ' active_installs';35 if ( 'popular' === $browse ) { 36 $section_args['meta_key'] = '_active_installs'; 37 37 $section_args['orderby'] = 'meta_value_num'; 38 38 unset( $section_args['browse'] ); 39 endif;39 } 40 40 41 41 $section_query = new \WP_Query( $section_args );
Note: See TracChangeset
for help on using the changeset viewer.