[wp-trac] [WordPress Trac] #26805: Email with Apostrophe May Not Update in Multisite
WordPress Trac
noreply at wordpress.org
Tue Dec 9 01:58:32 UTC 2014
#26805: Email with Apostrophe May Not Update in Multisite
--------------------------------+------------------------------
Reporter: contrid | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by rmccue):
Replying to [comment:7 miqrogroove]:
> JoshRoy, just use `is_email( stripslashes( $_POST[ 'email' ] ) )` or as
boonebgorges suggests, try to figure out which is the more appropriate
variable.
Quick note: use `wp_unslash` instead of `stripslashes` here; if the
superglobal slashing ever changes, `wp_unslash` will ensure that doesn't
break.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26805#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list