[wp-trac] [WordPress Trac] #14601: wp_new_comment method doesn't allow passed in values for IP and user-agent

WordPress Trac noreply at wordpress.org
Sat May 4 12:02:18 UTC 2013


#14601: wp_new_comment method doesn't allow passed in values for IP and user-agent
---------------------------------+--------------------
 Reporter:  mrutz                |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  3.6
Component:  Comments             |     Version:  3.0.1
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+--------------------

Comment (by ocean90):

 Replying to [comment:7 DrewAPicture]:
 > we could probably use `filter_var()` and `FILTER_VALIDATE_IP`

 If it's available yes, but comment:7:ticket:16867.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14601#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list