From b823b2f3c10586653e48b2b452b822f209223d78 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 30 Oct 2014 11:57:22 +0000 Subject: [PATCH] Twenty Fifteen: Change version compare string to '4.1-alpha' to avoid an error for alpha and beta testers during development. fixes #30137. Built from https://develop.svn.wordpress.org/trunk@30116 git-svn-id: http://core.svn.wordpress.org/trunk@30116 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/functions.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php index 339e209276..8faf299560 100644 --- a/wp-content/themes/twentyfifteen/functions.php +++ b/wp-content/themes/twentyfifteen/functions.php @@ -37,9 +37,9 @@ if ( ! isset( $content_width ) ) { /** * Twenty Fifteen only works in WordPress 4.1 or later. */ -//if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) { -// require get_template_directory() . '/inc/back-compat.php'; -//} +if ( version_compare( $GLOBALS['wp_version'], '4.1-alpha', '<' ) ) { + require get_template_directory() . '/inc/back-compat.php'; +} if ( ! function_exists( 'twentyfifteen_setup' ) ) : /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 2cf0efd3fc..9ddc9433d5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30115'; +$wp_version = '4.1-alpha-30116'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.