Make WordPress Core


Ignore:
Timestamp:
10/30/2014 11:56:03 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Twenty Fifteen: Change version compare string to '4.1-alpha' to avoid an error for alpha and beta testers during development.

fixes #30137.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r30103 r30116  
    3838 * Twenty Fifteen only works in WordPress 4.1 or later.
    3939 */
    40 //if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) {
    41 //  require get_template_directory() . '/inc/back-compat.php';
    42 //}
     40if ( version_compare( $GLOBALS['wp_version'], '4.1-alpha', '<' ) ) {
     41    require get_template_directory() . '/inc/back-compat.php';
     42}
    4343
    4444if ( ! function_exists( 'twentyfifteen_setup' ) ) :
Note: See TracChangeset for help on using the changeset viewer.