[wp-trac] [WordPress Trac] #34997: preprocess_comment filter does not contain old user_ID field for user_id, instead it has new user_id field

WordPress Trac noreply at wordpress.org
Mon Dec 21 02:46:46 UTC 2015


#34997: preprocess_comment filter does not contain old user_ID field for user_id,
instead it has new user_id field
--------------------------------------+--------------------------
 Reporter:  cookiesowns               |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.4.1
Component:  Comments                  |     Version:  4.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"36038"]:
 {{{
 #!CommitTicketReference repository="" revision="36038"
 Comments: When a comment is submitted, ensure the `user_ID` element in the
 array that's passed to the `preprocess_comment` filter gets populated.

 Fixes #34997
 }}}

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


More information about the wp-trac mailing list