REST API: Support ipv6 for `author_ip` in comments endpoint
|Reported by:||dd32||Owned by:||joehoyle|
The comments endpoint currently accepts a author_ip field, however sanitizes it to be an IPv4 address, and as a result rejects IPv6 addresses.
IPv6 is supported out of the box by WordPress and in all other comment APIs, and so should be supported.
Change History (18)
4 months ago
- Keywords has-patch has-unit-tests needs-testing added; needs-patch removed
- Keywords needs-testing needs-refresh removed
- Owner set to joehoyle
- Status changed from new to assigned