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

WordPress Trac noreply at wordpress.org
Thu May 22 19:37:45 UTC 2014


#26240: Allow get_comments_number() to accept post object
------------------------------+------------------
 Reporter:  coffee2code       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Comments          |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 4.0


Comment:

 The docs are already in-line with accepting either so +1 for
 [attachment:26240.2.diff] minus the unnecessary brace change(s).

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


More information about the wp-trac mailing list