[wp-trac] [WordPress Trac] #25196: add new function get_comment_post_ID()

WordPress Trac noreply at wordpress.org
Fri Aug 30 18:58:49 UTC 2013


#25196: add new function get_comment_post_ID()
-------------------------+------------------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nacin):

 We should remove the by-reference for get_comment() and allow it to return
 the global, like get_post(). Then it becomes
 get_comment()->comment_post_ID.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25196#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list