[wp-trac] [WordPress Trac] #30111: Default argument documentation for WP_Comment_Query

WordPress Trac noreply at wordpress.org
Sat Nov 8 20:35:02 UTC 2014


#30111: Default argument documentation for WP_Comment_Query
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  DrewAPicture
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------------
Changes (by DrewAPicture):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30281"]:
 {{{
 #!CommitTicketReference repository="" revision="30281"
 Cross-reference `WP_Comment_Query::query()` as the location for finding
 information on default arguments for `WP_Comment_Query`.

 Also updates the return types on `get_comments()` and
 `get_approved_comments()`, as an integer can also be returned if the
 `$count` argument is true.

 Fixes #30111.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30111#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list