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
This commit is contained in:
Pascal Birchler 2015-12-16 20:09:58 +00:00
parent f8909ca7d6
commit ca529a52fd

View File

@ -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;