mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
f8909ca7d6
commit
ca529a52fd
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user