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. git-svn-id: https://develop.svn.wordpress.org/trunk@42003 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e39d4f2de
commit
e28dfcd584
|
@ -198,7 +198,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
|||
<button type="button" class="clear-filters button" aria-label="<?php esc_attr_e( 'Clear current filters' ); ?>"><?php _e( 'Clear' ); ?></button>
|
||||
</div>
|
||||
<?php
|
||||
$feature_list = get_theme_feature_list();
|
||||
$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.
|
||||
foreach ( $feature_list as $feature_name => $features ) {
|
||||
echo '<fieldset class="filter-group">';
|
||||
$feature_name = esc_html( $feature_name );
|
||||
|
|
Loading…
Reference in New Issue