Docs: Add a @since
entry for the post_password_required
filter introduced in [38603].
Use a third-person singular verb for the filter description. See #38056. git-svn-id: https://develop.svn.wordpress.org/trunk@38604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5d1ca8e2d0
commit
94c9edd8d4
@ -799,7 +799,9 @@ function post_password_required( $post = null ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter whether a post requires the user to supply a password.
|
||||
* Filters whether a post requires the user to supply a password.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param bool $required Whether the user needs to supply a password. True if password has not been
|
||||
* provided or is incorrect, false if password has been supplied or is not required.
|
||||
|
Loading…
Reference in New Issue
Block a user