From 68bc0fc2160cb7eb5e4da39689c5f48875e6ddd5 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 11 Jan 2016 02:27:43 +0000 Subject: [PATCH] Add missing param to 'comments_template_query_args'. As introduced in [36235]. Props birgire. See #34442. git-svn-id: https://develop.svn.wordpress.org/trunk@36256 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index ff44840e97..e1dbd241ef 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -1348,6 +1348,8 @@ function comments_template( $file = '/comments.php', $separate_comments = false * @type string|array $orderby Field(s) to order by. * @type string $order Order of results. Accepts 'ASC' or 'DESC'. * @type string $status Comment status. + * @type array $include_unapproved Array of IDs or email addresses whose unapproved comments + * will be included in results. * @type int $post_id ID of the post. * @type bool $no_found_rows Whether to refrain from querying for found rows. * @type bool $update_comment_meta_cache Whether to prime cache for comment meta.