[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
Wed Mar 11 16:46:26 UTC 2015


#14601: wp_new_comment method doesn't allow passed in values for IP and user-agent
-------------------------+-----------------------------
 Reporter:  mrutz        |       Owner:  rachelbaker
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Future Release
Component:  Comments     |     Version:  3.0.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by DrewAPicture):

 * milestone:  4.2 => Future Release


Comment:

 Per discussion with @rachelbaker a few days ago, the suggestion was simply
 to check for the values coming and in and provide fallbacks. Needs a core
 developer to decide if passing an IP and/or user-agent should be possible
 in this context. See the JSON REST API use-case for context.

 Pushing to future release for now.

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


More information about the wp-trac mailing list