From b2672f57729ebde7e5c4aa83c44d28d2708c3e8c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 30 Oct 2014 11:56:03 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@30116 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index 339e209276..8faf299560 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/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' ) ) : /**