[wp-trac] [WordPress Trac] #23931: wp_insert_comment should require comment_post_ID

WordPress Trac noreply at wordpress.org
Mon Jan 18 16:57:22 UTC 2016


#23931: wp_insert_comment should require comment_post_ID
-------------------------------+-----------------------------
 Reporter:  markoheijnen       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Comments           |     Version:  2.0
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch close  |     Focuses:
-------------------------------+-----------------------------

Comment (by markoheijnen):

 Currently comments have a relationship with a post. All functions are
 there to retrieve comments based on the post ID. So closing this ticket
 without doing nothing feels wrong to me.

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


More information about the wp-trac mailing list