mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
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: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -151,7 +151,7 @@ function theme_update_available( $theme ) {
|
||||
function get_theme_feature_list( $api = true ) {
|
||||
// Hard-coded list is used if api not accessible.
|
||||
$features = array(
|
||||
__('Colors') => array(
|
||||
__( 'Colors' ) => array(
|
||||
'black' => __( 'Black' ),
|
||||
'blue' => __( 'Blue' ),
|
||||
'brown' => __( 'Brown' ),
|
||||
@@ -169,7 +169,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'light' => __( 'Light' ),
|
||||
),
|
||||
|
||||
__('Columns') => array(
|
||||
__( 'Columns' ) => array(
|
||||
'one-column' => __( 'One Column' ),
|
||||
'two-columns' => __( 'Two Columns' ),
|
||||
'three-columns' => __( 'Three Columns' ),
|
||||
@@ -178,7 +178,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'right-sidebar' => __( 'Right Sidebar' ),
|
||||
),
|
||||
|
||||
__('Width') => array(
|
||||
__( 'Width' ) => array(
|
||||
'fixed-width' => __( 'Fixed Width' ),
|
||||
'flexible-width' => __( 'Flexible Width' ),
|
||||
),
|
||||
@@ -193,6 +193,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'editor-style' => __( 'Editor Style' ),
|
||||
'featured-image-header' => __( 'Featured Image Header' ),
|
||||
'featured-images' => __( 'Featured Images' ),
|
||||
'flexible-header' => __( 'Flexible Header' ),
|
||||
'front-page-post-form' => __( 'Front Page Posting' ),
|
||||
'full-width-template' => __( 'Full Width Template' ),
|
||||
'microformats' => __( 'Microformats' ),
|
||||
|
||||
Reference in New Issue
Block a user