Correct documentation for `status` param of `WP_Comment_Query`.
The `status` parameter accepts an array or string/comma-separated list. Introduced in [30084]. Props pbiron. Fixes #41338. Built from https://develop.svn.wordpress.org/trunk@42165 git-svn-id: http://core.svn.wordpress.org/trunk@41996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4e320fe008
commit
2f95f44008
|
@ -222,9 +222,10 @@ class WP_Comment_Query {
|
|||
* Default empty.
|
||||
* @type string $search Search term(s) to retrieve matching comments for.
|
||||
* Default empty.
|
||||
* @type string $status Comment status to limit results by. Accepts 'hold'
|
||||
* (`comment_status=0`), 'approve' (`comment_status=1`),
|
||||
* 'all', or a custom comment status. Default 'all'.
|
||||
* @type string|array $status Comment stati to limit results by. Accepts an array
|
||||
* or space/comma separate list of 'hold' (`comment_status=0`),
|
||||
* 'approve' (`comment_status=1`), 'all', or a custom
|
||||
* comment status. Default 'all'.
|
||||
* @type string|array $type Include comments of a given type, or array of types.
|
||||
* Accepts 'comment', 'pings' (includes 'pingback' and
|
||||
* 'trackback'), or anycustom type string. Default empty.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42163';
|
||||
$wp_version = '5.0-alpha-42165';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue