[wp-trac] [WordPress Trac] #23231: preprocess_comment should get the normalised comment data
WordPress Trac
noreply at wordpress.org
Fri May 23 21:27:13 UTC 2014
#23231: preprocess_comment should get the normalised comment data
---------------------------------------+------------------------------
Reporter: westi | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Comments | Version: 3.5
Severity: minor | Resolution:
Keywords: westi-like easy has-patch | Focuses:
---------------------------------------+------------------------------
Changes (by dkotter):
* keywords: needs-patch westi-like easy => westi-like easy has-patch
Comment:
Added a patch that normalizes the user_ID data before sending on to the
preprocess_comment filter. I wasn't sure whether we should leave the
normalizing of the same data after the filter, as it ends up with
duplicate code just a few lines apart, but for now I've left that there.
My thought was someone could change the data in the filter call, so re-
normalizing it might make sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23231#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list