[wp-trac] [WordPress Trac] #45800: Add short circuits for WP_Comment_Query

WordPress Trac noreply at wordpress.org
Tue Sep 10 17:24:54 UTC 2019


#45800: Add short circuits for WP_Comment_Query
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Comments                             |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note commit                                    |
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch has-unit-tests dev-feedback needs-dev-note => has-
     patch has-unit-tests needs-dev-note commit


Comment:

 > the $comment_data param type should be @param array|int|null, shouldn't
 it? That int covers the $this->query_vars['count'] scenario.

 Updated in [attachment:"45800.6.diff"]

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


More information about the wp-trac mailing list