mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Docs: Add @since notes for theme features added or removed in get_theme_feature_list() after its introduction in WordPress 3.1.
See #50165. git-svn-id: https://develop.svn.wordpress.org/trunk@47794 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -208,7 +208,10 @@ require_once 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( false ); // Use the core list, rather than the .org API, due to inconsistencies and to ensure tags are translated.
|
||||
// Use the core list, rather than the .org API, due to inconsistencies
|
||||
// and to ensure tags are translated.
|
||||
$feature_list = get_theme_feature_list( false );
|
||||
|
||||
foreach ( $feature_list as $feature_name => $features ) {
|
||||
echo '<fieldset class="filter-group">';
|
||||
$feature_name = esc_html( $feature_name );
|
||||
|
||||
Reference in New Issue
Block a user