mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@26905 git-svn-id: http://core.svn.wordpress.org/trunk@26788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9145c85fc7
commit
3a7ce85b4f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user