Fix inline documentation syntax for get_default_comment_status()
, introduced in 4.3.
See [33122]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33223 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ec980b5e5
commit
e47cc9e088
@ -1034,12 +1034,12 @@ function get_comment_statuses() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default comment status for a post type.
|
||||
* Gets the default comment status for a post type.
|
||||
*
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @param string $post_type Optional. Post type. Default 'post'.
|
||||
* @param string $comment_type Optional. Comment type. Default 'comment'.
|
||||
* @param string $post_type Optional. Post type. Default 'post'.
|
||||
* @param string $comment_type Optional. Comment type. Default 'comment'.
|
||||
* @return string Expected return value is 'open' or 'closed'.
|
||||
*/
|
||||
function get_default_comment_status( $post_type = 'post', $comment_type = 'comment' ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user