Themes: Update list of WordPress theme features.
* Remove color tags. * Layout: Add Grid Layout, remove Fixed Layout, Fluid Layout, and Responsive Layout. * Features: Add Footer Widgets, remove Blavatar. * Subject: Add Blog, E-Commerce, Education, Entertainment, Food & Drink, Holiday, News, Photography and Portfolio, remove Photoblogging and Seasonal. Props grapplerulrich, davewarfel. Fixes #33407. git-svn-id: https://develop.svn.wordpress.org/trunk@37287 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8be6905a89
commit
d434c58404
@ -218,28 +218,9 @@ function get_theme_update_available( $theme ) {
|
||||
function get_theme_feature_list( $api = true ) {
|
||||
// Hard-coded list is used if api not accessible.
|
||||
$features = array(
|
||||
__( 'Colors' ) => array(
|
||||
'black' => __( 'Black' ),
|
||||
'blue' => __( 'Blue' ),
|
||||
'brown' => __( 'Brown' ),
|
||||
'gray' => __( 'Gray' ),
|
||||
'green' => __( 'Green' ),
|
||||
'orange' => __( 'Orange' ),
|
||||
'pink' => __( 'Pink' ),
|
||||
'purple' => __( 'Purple' ),
|
||||
'red' => __( 'Red' ),
|
||||
'silver' => __( 'Silver' ),
|
||||
'tan' => __( 'Tan' ),
|
||||
'white' => __( 'White' ),
|
||||
'yellow' => __( 'Yellow' ),
|
||||
'dark' => __( 'Dark' ),
|
||||
'light' => __( 'Light' ),
|
||||
),
|
||||
|
||||
__( 'Layout' ) => array(
|
||||
'fixed-layout' => __( 'Fixed Layout' ),
|
||||
'fluid-layout' => __( 'Fluid Layout' ),
|
||||
'responsive-layout' => __( 'Responsive Layout' ),
|
||||
'grid-layout' => __( 'Grid Layout' ),
|
||||
'one-column' => __( 'One Column' ),
|
||||
'two-columns' => __( 'Two Columns' ),
|
||||
'three-columns' => __( 'Three Columns' ),
|
||||
@ -250,7 +231,6 @@ function get_theme_feature_list( $api = true ) {
|
||||
|
||||
__( 'Features' ) => array(
|
||||
'accessibility-ready' => __( 'Accessibility Ready' ),
|
||||
'blavatar' => __( 'Blavatar' ),
|
||||
'buddypress' => __( 'BuddyPress' ),
|
||||
'custom-background' => __( 'Custom Background' ),
|
||||
'custom-colors' => __( 'Custom Colors' ),
|
||||
@ -260,6 +240,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'featured-image-header' => __( 'Featured Image Header' ),
|
||||
'featured-images' => __( 'Featured Images' ),
|
||||
'flexible-header' => __( 'Flexible Header' ),
|
||||
'footer-widgets' => __( 'Footer Widgets' ),
|
||||
'front-page-post-form' => __( 'Front Page Posting' ),
|
||||
'full-width-template' => __( 'Full Width Template' ),
|
||||
'microformats' => __( 'Microformats' ),
|
||||
@ -272,9 +253,15 @@ function get_theme_feature_list( $api = true ) {
|
||||
),
|
||||
|
||||
__( 'Subject' ) => array(
|
||||
'blog' => __( 'Blog' ),
|
||||
'e-commerce' => __( 'E-Commerce' ),
|
||||
'education' => __( 'Education' ),
|
||||
'entertainment' => __( 'Entertainment' ),
|
||||
'food-and-drink' => __( 'Food & Drink' ),
|
||||
'holiday' => __( 'Holiday' ),
|
||||
'photoblogging' => __( 'Photoblogging' ),
|
||||
'seasonal' => __( 'Seasonal' ),
|
||||
'news' => __( 'News' ),
|
||||
'photography' => __( 'Photography' ),
|
||||
'portfolio' => __( 'Portfolio' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user