Changeset 62482 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 06/10/2026 03:04:54 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/default-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r62428 r62482 86 86 add_filter( $filter, 'sanitize_url' ); 87 87 add_filter( $filter, 'wp_filter_kses' ); 88 } 89 90 // Email addresses: Allow unicode if and only if as the database can 91 // store them. This affects all addresses, including those entered 92 // into contact forms. 93 if ( 'utf8mb4' === $wpdb->charset ) { 94 add_filter( 'is_email', 'wp_is_unicode_email', 10, 3 ); 95 add_filter( 'sanitize_email', 'wp_sanitize_unicode_email', 10, 3 ); 96 } else { 97 add_filter( 'is_email', 'wp_is_ascii_email', 10, 3 ); 98 add_filter( 'sanitize_email', 'wp_sanitize_ascii_email', 10, 3 ); 88 99 } 89 100
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)