Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065. git-svn-id: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
feb752da92
commit
770ee9720a
|
@ -151,7 +151,7 @@ function theme_update_available( $theme ) {
|
||||||
function get_theme_feature_list( $api = true ) {
|
function get_theme_feature_list( $api = true ) {
|
||||||
// Hard-coded list is used if api not accessible.
|
// Hard-coded list is used if api not accessible.
|
||||||
$features = array(
|
$features = array(
|
||||||
__('Colors') => array(
|
__( 'Colors' ) => array(
|
||||||
'black' => __( 'Black' ),
|
'black' => __( 'Black' ),
|
||||||
'blue' => __( 'Blue' ),
|
'blue' => __( 'Blue' ),
|
||||||
'brown' => __( 'Brown' ),
|
'brown' => __( 'Brown' ),
|
||||||
|
@ -169,7 +169,7 @@ function get_theme_feature_list( $api = true ) {
|
||||||
'light' => __( 'Light' ),
|
'light' => __( 'Light' ),
|
||||||
),
|
),
|
||||||
|
|
||||||
__('Columns') => array(
|
__( 'Columns' ) => array(
|
||||||
'one-column' => __( 'One Column' ),
|
'one-column' => __( 'One Column' ),
|
||||||
'two-columns' => __( 'Two Columns' ),
|
'two-columns' => __( 'Two Columns' ),
|
||||||
'three-columns' => __( 'Three Columns' ),
|
'three-columns' => __( 'Three Columns' ),
|
||||||
|
@ -178,7 +178,7 @@ function get_theme_feature_list( $api = true ) {
|
||||||
'right-sidebar' => __( 'Right Sidebar' ),
|
'right-sidebar' => __( 'Right Sidebar' ),
|
||||||
),
|
),
|
||||||
|
|
||||||
__('Width') => array(
|
__( 'Width' ) => array(
|
||||||
'fixed-width' => __( 'Fixed Width' ),
|
'fixed-width' => __( 'Fixed Width' ),
|
||||||
'flexible-width' => __( 'Flexible Width' ),
|
'flexible-width' => __( 'Flexible Width' ),
|
||||||
),
|
),
|
||||||
|
@ -193,6 +193,7 @@ function get_theme_feature_list( $api = true ) {
|
||||||
'editor-style' => __( 'Editor Style' ),
|
'editor-style' => __( 'Editor Style' ),
|
||||||
'featured-image-header' => __( 'Featured Image Header' ),
|
'featured-image-header' => __( 'Featured Image Header' ),
|
||||||
'featured-images' => __( 'Featured Images' ),
|
'featured-images' => __( 'Featured Images' ),
|
||||||
|
'flexible-header' => __( 'Flexible Header' ),
|
||||||
'front-page-post-form' => __( 'Front Page Posting' ),
|
'front-page-post-form' => __( 'Front Page Posting' ),
|
||||||
'full-width-template' => __( 'Full Width Template' ),
|
'full-width-template' => __( 'Full Width Template' ),
|
||||||
'microformats' => __( 'Microformats' ),
|
'microformats' => __( 'Microformats' ),
|
||||||
|
|
|
@ -7,7 +7,7 @@ Description: The 2011 theme for WordPress is sophisticated, lightweight, and ada
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
License: GNU General Public License v2 or later
|
License: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
||||||
Text Domain: twentyeleven
|
Text Domain: twentyeleven
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ Author: the WordPress team
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
License: GNU General Public License v2 or later
|
License: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu
|
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header
|
||||||
Text Domain: twentyten
|
Text Domain: twentyten
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue