[wp-trac] [WordPress Trac] #38818: REST API: Support ipv6 for `author_ip` in comments endpoint
WordPress Trac
noreply at wordpress.org
Fri Nov 18 19:32:05 UTC 2016
#38818: REST API: Support ipv6 for `author_ip` in comments endpoint
--------------------------------------+-----------------------
Reporter: dd32 | Owner: joehoyle
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Changes (by joehoyle):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39296"]:
{{{
#!CommitTicketReference repository="" revision="39296"
REST API: Change “ipv4” types to “ip” to support ipv6.
Stop presuming IP address are IPv4, instead make the type “ip” to be
agnostic of IP version. This fixes requests with ipv6 addresses for
comments in core.
Props dd32, schlessera, danielbachhuber.
Fixes #38818.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38818#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list