Make WordPress Core

Changeset 26955


Ignore:
Timestamp:
01/15/2014 08:23:39 AM (11 years ago)
Author:
nacin
Message:

Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().

Merges [26905] to the 3.8 branch.

props janrenn.
fixes #26777.

Location:
branches/3.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-admin/includes/theme.php

    r26851 r26955  
    251251    set_site_transient( 'wporg_theme_feature_list', $feature_list, 10800 );
    252252
    253     $category_translations = array( 'Colors' => __('Colors'), 'Columns' => __('Columns'), 'Width' => __('Width'),
    254                                    'Features' => __('Features'), 'Subject' => __('Subject') );
     253    $category_translations = array(
     254        'Colors'   => __( 'Colors' ),
     255        'Columns'  => __( 'Columns' ),
     256        'Layout'   => __( 'Layout' ),
     257        'Features' => __( 'Features' ),
     258        'Subject'  => __( 'Subject' )
     259    );
    255260
    256261    // Loop over the wporg canonical list and apply translations
Note: See TracChangeset for help on using the changeset viewer.