Make WordPress Core


Ignore:
Timestamp:
06/19/2013 10:06:42 PM (13 years ago)
Author:
nacin
Message:

Fix storage of illegal_names. Add an upgrade routine to fix bad values.

props SergeyBiryukov.
see #23418.
for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r24241 r24448  
    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 ) ) );
Note: See TracChangeset for help on using the changeset viewer.