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

WordPress Trac noreply at wordpress.org
Fri Apr 3 13:27:34 UTC 2015


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31999"]:
 {{{
 #!CommitTicketReference repository="" revision="31999"
 Remove hidden `user_id` input from `wp_comment_reply()`.

 Since [31172], it caused the comment's `user_id` field to be unexpectedly
 changed to the user who edits the comment.

 See [31776] for Edit Comment screen.

 props dllh.
 fixes #30307.
 }}}

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


More information about the wp-trac mailing list