WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/21/2020 12:54:30 AM (7 months ago)
Author:
dd32
Message:

Theme Directory: Remove the 100% randomised "featured" view from WordPress.org, promoting the Popular view to be the default.

The API endpoint should continue to work to service requests from WordPress installs, where the featured tab is still the default.
This change is intended to be temporary, with a properly curated featured listing to replace it at some point.

Fixes #5044.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/query-modifications.php

    r9363 r9522  
    1818    }
    1919
    20     // Default to the featured view
     20    // Default to the ~featured~ popular view
    2121    if ( empty( $query->query ) ) {
    22         $query->query_vars['browse'] = 'featured';
     22        $query->query_vars['browse'] = 'popular';
    2323    }
    2424
     
    199199function wporg_themes_parse_request( $wp ) {
    200200    $sections = array(
    201         'new', 'updated', 'featured', 'favorites', 'popular'
     201        'new', 'updated', /*'featured',*/ 'favorites', 'popular'
    202202    );
    203203
Note: See TracChangeset for help on using the changeset viewer.