Docs: Document the default value for the `$validate` parameter in the `validate_current_theme` hook docs.
See #32246. Built from https://develop.svn.wordpress.org/trunk@35976 git-svn-id: http://core.svn.wordpress.org/trunk@35941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b6c660c38f
commit
fa9b71e423
|
@ -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;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35975';
|
||||
$wp_version = '4.5-alpha-35976';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue