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
This commit is contained in:
Sergey Biryukov 2014-10-30 11:56:03 +00:00
parent 9a84da90c3
commit b2672f5772
1 changed files with 3 additions and 3 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-alpha', '<' ) ) {
// 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' ) ) :
/** /**