[wp-trac] [WordPress Trac] #49277: Implement email sanitize in REST API
WordPress Trac
noreply at wordpress.org
Thu Jan 23 15:46:40 UTC 2020
#49277: Implement email sanitize in REST API
-----------------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Changes (by TimothyBlynJacobs):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
Is this stricter than `sanitize_text_field`? If so, I think we'd want to
make sure it isn't stricter than `is_email` would allow, right?
Separately, as I understand it, `filter_var` historically hasn't been used
in WordPress since I think it can be disabled and we don't list it as a
required extension.
Cc: @SergeyBiryukov, @jrf.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49277#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list