Docs: Reference `WP_Comment_Query::__construct()` as the source of information on accepted arguments in `get_comments()` and `get_approved_comments()`.
See #41017. Built from https://develop.svn.wordpress.org/trunk@41940 git-svn-id: http://core.svn.wordpress.org/trunk@41774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bdefa6bf34
commit
9c4fb24458
|
@ -138,7 +138,7 @@ function check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $
|
|||
* @since 4.1.0 Refactored to leverage WP_Comment_Query over a direct query.
|
||||
*
|
||||
* @param int $post_id The ID of the post.
|
||||
* @param array $args Optional. See WP_Comment_Query::query() for information on accepted arguments.
|
||||
* @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
|
||||
* @return int|array $comments The approved comments, or number of comments if `$count`
|
||||
* argument is true.
|
||||
*/
|
||||
|
@ -217,7 +217,7 @@ function get_comment( &$comment = null, $output = OBJECT ) {
|
|||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string|array $args Optional. Array or string of arguments. See WP_Comment_Query::parse_query()
|
||||
* @param string|array $args Optional. Array or string of arguments. See WP_Comment_Query::__construct()
|
||||
* for information on accepted arguments. Default empty.
|
||||
* @return int|array List of comments or number of found comments if `$count` argument is true.
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-beta3-41939';
|
||||
$wp_version = '4.9-beta3-41940';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue