[wp-trac] [WordPress Trac] #26240: Allow get_comments_number() to accept post object

WordPress Trac noreply at wordpress.org
Wed May 28 20:35:02 UTC 2014


#26240: Allow get_comments_number() to accept post object
--------------------------+-----------------------
 Reporter:  coffee2code   |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+-----------------------

Comment (by DrewAPicture):

 Replying to [comment:8 ocean90]:
 > [27156] removed the "Optional" part for $post_id, we should add it back
 since it's optional.

 Opened #28388

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


More information about the wp-trac mailing list