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:
parent
cc97cb633d
commit
2d018dd75e
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user