[wp-trac] [WordPress Trac] #30307: wp_update_comment does not update user_id column

WordPress Trac noreply at wordpress.org
Sat Jan 24 13:18:24 UTC 2015


#30307: wp_update_comment does not update user_id column
--------------------------+-----------------------------
 Reporter:  jphase        |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.2
Component:  Comments      |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Actually, not sure why there's a hidden `user_id` input in the first place
 (introduced in [658]).

 `edit_comment()` and `wp_ajax_edit_comment()` don't depend on it, and it
 appears to be unused.

 See [attachment:30307.4.patch].

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


More information about the wp-trac mailing list