Opened 11 years ago
Last modified 3 years ago
#28163 new defect (bug)
function email_exists() check without removing umlauts
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8.3 |
Component: | Users | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
But with wp_insert_user() the umlauts got removed.
A littel bit confusing.
Attachments (3)
Change History (8)
#4
@
3 years ago
- Keywords needs-unit-tests needs-refresh removed
After updating the Test patch it is apparent that the original patch (user.php.patch) is no longer needed. The sanitize_email()
call is now handled in wp-includes/default-filters.php using the 'pre_user_email' filter.
// Email saves. foreach ( array( 'pre_comment_author_email', 'pre_user_email' ) as $filter ) { add_filter( $filter, 'trim' ); add_filter( $filter, 'sanitize_email' ); add_filter( $filter, 'wp_filter_kses' ); }
Note: See
TracTickets for help on using
tickets.
We have attached the patch file. It will remove "umlauts" before existing email check.