[wp-trac] [WordPress Trac] #34493: wp_handle_comment_submission() does not set the user_ID

WordPress Trac noreply at wordpress.org
Thu Oct 29 20:56:13 UTC 2015


#34493: wp_handle_comment_submission() does not set the user_ID
--------------------------+-----------------------------
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

 When a logged in user post a comment, the user_id field of the
 $wpdb->comments table is never populated, although it was the case before
 the introduction of the function `wp_handle_comment_submission()` since
 [34799]

 Applying the attached patch is fixing the issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34493>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list