mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
6f5b38a5b8
commit
98ad41b582
@ -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