Docs: Correct a parameter name for the validate_current_theme
filter.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35972 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44f82fcc70
commit
b041e9b189
@ -771,7 +771,7 @@ function validate_current_theme() {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param bool true Validation flag to check the current theme.
|
||||
* @param bool $validate Validation flag to check the current theme.
|
||||
*/
|
||||
if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) )
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user