mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-19 10:44:24 +00:00
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:
@@ -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' ) ) :
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user