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

props janrenn.
fixes #26777 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2014-01-05 17:15:14 +00:00
parent b71b3231ce
commit 18c545905b

View File

@@ -250,8 +250,13 @@ function get_theme_feature_list( $api = true ) {
set_site_transient( 'wporg_theme_feature_list', $feature_list, 10800 );
$category_translations = array( 'Colors' => __('Colors'), 'Columns' => __('Columns'), 'Width' => __('Width'),
'Features' => __('Features'), 'Subject' => __('Subject') );
$category_translations = array(
'Colors' => __( 'Colors' ),
'Columns' => __( 'Columns' ),
'Layout' => __( 'Layout' ),
'Features' => __( 'Features' ),
'Subject' => __( 'Subject' )
);
// Loop over the wporg canonical list and apply translations
$wporg_features = array();