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

WordPress Trac noreply at wordpress.org
Fri Feb 21 19:37:32 UTC 2014


#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:               |     Focuses:
-------------------------+------------------------------

Comment (by mordauk):

 If introduced `get_comment_post_ID()` should allow a comment ID to be
 passed. If an ID is passed, it'd just call `get_comment()` to retrieve the
 comment object.

 If no comment ID is passed it could fall back to the `$comment` global.

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


More information about the wp-trac mailing list