WordPress.org

Make WordPress Core

Ticket #23418: 23418.2.diff

File 23418.2.diff, 437 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-includes/formatting.php

     
    29012901
    29022902                case 'illegal_names':
    29032903                        if ( ! is_array( $value ) )
    2904                                 $value = explode( "\n", $value );
     2904                                $value = explode( ' ', $value );
    29052905
    29062906                        $value = array_values( array_filter( array_map( 'trim', $value ) ) );
    29072907