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
This commit is contained in:
Sergey Biryukov 2014-10-30 11:57:22 +00:00
parent 93ae51e801
commit b823b2f3c1
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.
*/
//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' ) ) :
/**

View File

@ -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.