From 93eaf20f29104ac8ff5ad88ea282cadecf332752 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 21 Apr 2016 21:11:29 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@37287 git-svn-id: http://core.svn.wordpress.org/trunk@37253 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 35 +++++++++++------------------------ wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 25 deletions(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 53c7ccbf72..4afd9d6300 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -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( - 'holiday' => __( 'Holiday' ), - 'photoblogging' => __( 'Photoblogging' ), - 'seasonal' => __( 'Seasonal' ), + 'blog' => __( 'Blog' ), + 'e-commerce' => __( 'E-Commerce' ), + 'education' => __( 'Education' ), + 'entertainment' => __( 'Entertainment' ), + 'food-and-drink' => __( 'Food & Drink' ), + 'holiday' => __( 'Holiday' ), + 'news' => __( 'News' ), + 'photography' => __( 'Photography' ), + 'portfolio' => __( 'Portfolio' ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4426069158..595f9baf2c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37285'; +$wp_version = '4.6-alpha-37287'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.