[wp-trac] [WordPress Trac] #26805: is_email not allowing apostrophe
WordPress Trac
noreply at wordpress.org
Mon Dec 8 16:00:13 UTC 2014
#26805: is_email not allowing apostrophe
-------------------------------------+------------------------------
Reporter: contrid | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.8
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Comment (by boonebgorges):
> I'm experiencing this issue when trying to edit a user using the
standard WordPress interface, not through any custom code. We use a custom
interface for adding users so I don't know if the error occurs there as
well. is_email( $_POST[ 'email' ] ) is called on line 154 of wp-admin
\user-edit.php
Aha. So the problem here is probably that we should be stripping slashes
from the $_POST data before running through `is_email()`, *not* that we
should be accepting slashed data in `is_email()`. Let's leave the ticket
open for further testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26805#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list