[wp-trac] [WordPress Trac] #48093: get_comment_count() should return an integer for all counts of all statuses

WordPress Trac noreply at wordpress.org
Fri Oct 4 00:46:09 UTC 2019


#48093: get_comment_count() should return an integer for all counts of all statuses
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Comments                             |     Version:  2.0
 Severity:  normal                               |  Resolution:  worksforme
 Keywords:  good-first-bug has-patch needs-      |     Focuses:
  testing has-unit-tests                         |
-------------------------------------------------+-------------------------
Changes (by m.usama.masood):

 * keywords:  needs-unit-tests good-first-bug has-patch needs-testing =>
     good-first-bug has-patch needs-testing has-unit-tests
 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hi @davidakennedy,

 I have applied patch and update docs of functions. I also updated the
 Tests_Get_Comment_Count() class & Tests_Import_Import() class for phpunit
 test.

 Thanks!

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


More information about the wp-trac mailing list