WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/24/2017 09:45:14 PM (2 years ago)
Author:
westonruter
Message:

Themes: Harmonize list of theme features on Theme Install screen with list in the Customizer.

Use the core list, rather than the .org API, due to inconsistencies and to ensure tags are translated.

Props celloexpressions.
See #37661, #42306.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r41949 r42003  
    199199            </div>
    200200        <?php
    201         $feature_list = get_theme_feature_list();
     201        $feature_list = get_theme_feature_list( false ); // Use the core list, rather than the .org API, due to inconsistencies and to ensure tags are translated.
    202202        foreach ( $feature_list as $feature_name => $features ) {
    203203            echo '<fieldset class="filter-group">';
Note: See TracChangeset for help on using the changeset viewer.