WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/08/2014 04:30:01 AM (7 years ago)
Author:
nacin
Message:

Theme Installer: Combine 'Layout' and 'Columns' filters so 'Features' can span two columns.

see #27055.

File:
1 edited

Legend:

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

    r28033 r28037  
    138138        $feature_list = get_theme_feature_list();
    139139        foreach ( $feature_list as $feature_name => $features ) {
    140             echo '<div class="filters-group">';
     140            if ( $feature_name === 'Features' || $feature_name === __( 'Features' ) ) { // hack hack hack
     141                echo '<div class="filters-group wide-filters-group">';
     142            } else {
     143                echo '<div class="filters-group">';
     144            }
    141145            $feature_name = esc_html( $feature_name );
    142146            echo '<h4 class="feature-name">' . $feature_name . '</h4>';
Note: See TracChangeset for help on using the changeset viewer.