Twenty Fifteen: back compat checks in Twenty Fifteen are breaking the customizer, leaving them in for now, but commented out.

See #30137.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ian Stewart 2014-10-29 22:52:22 +00:00
parent 3c962ee5d8
commit 27b88c350a
2 changed files with 4 additions and 4 deletions

View File

@ -37,9 +37,9 @@ if ( ! isset( $content_width ) ) {
/** /**
* Twenty Fifteen only works in WordPress 4.1 or later. * Twenty Fifteen only works in WordPress 4.1 or later.
*/ */
if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) { //if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) {
require get_template_directory() . '/inc/back-compat.php'; // require get_template_directory() . '/inc/back-compat.php';
} //}
if ( ! function_exists( 'twentyfifteen_setup' ) ) : if ( ! function_exists( 'twentyfifteen_setup' ) ) :
/** /**

View File

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