Twenty Fourteen: Make featured content in Customizer contextual to the front page.

Props celloexpressions, fixes #29578.

Built from https://develop.svn.wordpress.org/trunk@30143


git-svn-id: http://core.svn.wordpress.org/trunk@30143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-11-01 03:26:21 +00:00
parent 92536aae65
commit 6ddbf3c8bd
2 changed files with 5 additions and 4 deletions

View File

@ -43,6 +43,7 @@ function twentyfourteen_customize_register( $wp_customize ) {
admin_url( 'edit.php?show_sticky=1' )
),
'priority' => 130,
'active_callback' => 'is_front_page',
) );
// Add the featured content layout setting and control.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30142';
$wp_version = '4.1-alpha-30143';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.