WordPress.org

Making WordPress.org


Ignore:
Timestamp:
04/29/2015 04:04:49 AM (5 years ago)
Author:
dd32
Message:

Themes Directory: Add a theme-specific copy of get_theme_feature_list() to remove the translation reliance upon admin strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php

    r1493 r1520  
    1414global $themes;
    1515
    16 if ( ! function_exists( 'get_theme_feature_list' ) ) {
    17     include ABSPATH . 'wp-admin/includes/theme.php';
    18 }
    1916get_header();
    2017?>
     
    4744                </div>
    4845
    49                 <?php foreach ( get_theme_feature_list() as $feature_name => $features ) : ?>
     46                <?php foreach ( wporg_themes_get_feature_list() as $feature_name => $features ) : ?>
    5047                <div class="filter-group">
    5148                    <h4><?php echo esc_html( $feature_name ); ?></h4>
Note: See TracChangeset for help on using the changeset viewer.