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:
parent
9a84da90c3
commit
b2672f5772
|
@ -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' ) ) :
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue