[wp-trac] [WordPress Trac] #58450: WP_Comment_Query status argument documentation misses any

WordPress Trac noreply at wordpress.org
Thu Jul 4 04:47:13 UTC 2024


#58450: WP_Comment_Query status argument documentation misses any
--------------------------+------------------------------
 Reporter:  dshanske      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by josephcscot):

 In the context of the WordPress core, the WP_Comment_Query class is
 essential for querying comments. Recently, a new defect (bug) report has
 been filed (Ticket #58450) concerning the status argument documentation
 for this class. The issue highlights that the documentation misses the
 'any' status, which overrides other statuses. It also points out that
 'all' does not cover 'spam' or 'trash' statuses, suggesting that the
 documentation should be amended for clarity and accuracy.

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


More information about the wp-trac mailing list