From 18c545905b828fc6ca90ce08c16dd95f64382010 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 5 Jan 2014 17:15:14 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/theme.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index cc7c4545e6..2d98920484 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -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();