Ticket #24487: 24487_trunk.patch
File 24487_trunk.patch, 497 bytes (added by , 12 years ago) |
---|
-
formatting.
old new 1862 1862 } 1863 1863 1864 1864 // Test for invalid characters 1865 if ( !preg_match('/^[a-z0-9-]+$/i', $sub ) ) {1865 if ( !preg_match('/^[\d|\p{Ll}]+$/u', $sub ) ) { 1866 1866 return apply_filters( 'is_email', false, $email, 'sub_invalid_chars' ); 1867 1867 } 1868 1868 } … … 3390 3390 */ 3391 3391 function wp_unslash( $value ) { 3392 3392 return stripslashes_deep( $value ); 3393 } 3394 No newline at end of file 3393 }