[wp-trac] [WordPress Trac] #28603: Improve "previously approved comment" test for logged-in users
WordPress Trac
noreply at wordpress.org
Thu Feb 5 00:01:16 UTC 2015
#28603: Improve "previously approved comment" test for logged-in users
-------------------------+-----------------------------
Reporter: nevermoor | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by voldemortensen):
Updated patch to 1) strict check on $user_id, 2) run queries through
$wpdb->prepare, and 3) provide unit tests for when a $user_id is passed
in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28603#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list