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

WordPress Trac noreply at wordpress.org
Sat Jan 24 13:01:17 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):

 The unit test probably doesn't need updating, since the issue here doesn't
 necessary have to do with the current user, but rather with unintended
 passing of `$_POST['user_id']` to `wp_update_comment()` on Edit Comment
 screen.

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


More information about the wp-trac mailing list