[wp-trac] [WordPress Trac] #41338: description of $status parameter in WP_Comment_Query::__construct() is incorrect

WordPress Trac noreply at wordpress.org
Sat Jul 15 19:26:59 UTC 2017


#41338: description of $status parameter in WP_Comment_Query::__construct() is
incorrect
--------------------------+-----------------------------
 Reporter:  pbiron        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The description of the `$status` parameter suggests that only a single
 status can be provided.

 However, `WP_Comment_Query::get_comment_ids()` treats it as an array of
 stati (either a true array or a space/comma separated list).

 The description should be updated to reflect this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41338>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list