From 8ce9670189c25e44bed7d4081716cf0871cf6f7a Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 21 Apr 2010 17:14:25 +0000 Subject: [PATCH] Improve documentation of validate_current_theme() git-svn-id: http://svn.automattic.com/wordpress/trunk@14175 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 04fa3ca8af..ebf04536f4 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1176,13 +1176,13 @@ function switch_theme($template, $stylesheet) { /** * Checks that current theme files 'index.php' and 'style.css' exists. * - * Does not check the 'default' theme. The 'default' theme should always exist - * or should have another theme renamed to that template name and directory - * path. Will switch theme to default if current theme does not validate. + * Does not check the fallback theme. The fallback theme should always exist. + * Will switch theme to the fallback theme if current theme does not validate. * You can use the 'validate_current_theme' filter to return FALSE to * disable this functionality. * * @since 1.5.0 + * @see WP_FALLBACK_THEME * * @return bool */