From ca529a52fdc5e30330c222ab8f3b92eab2dce2f0 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 16 Dec 2015 20:09:58 +0000 Subject: [PATCH] Docs: Document the default value for the `$validate` parameter in the `validate_current_theme` hook docs. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35976 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 0194462e54..b2543639bc 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -771,7 +771,7 @@ function validate_current_theme() { * * @since 2.7.0 * - * @param bool $validate Validation flag to check the current theme. + * @param bool $validate Whether to validate the current theme. Default true. */ if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) ) return true;