Twenty Thirteen: change version compare string to "3.6-alpha" to avoid an error for alpha and beta testers during development. See #23819, props kovshenin.

git-svn-id: https://develop.svn.wordpress.org/trunk@23825 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-03-27 20:36:19 +00:00
parent cc97cb633d
commit 2d018dd75e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* to the previously activated theme or the default theme.
*/
function twentythirteen_switch_theme( $theme_name, $theme ) {
if ( version_compare( $GLOBALS['wp_version'], '3.6', '>=' ) )
if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '>=' ) )
return;
if ( 'twentythirteen' != $theme->template )