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: http://core.svn.wordpress.org/trunk@23825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-27 20:36:19 +00:00
parent 6f5b38a5b8
commit 98ad41b582
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 )