WordPress.org

Make WordPress Core

Ticket #23418: 23418.diff

File 23418.diff, 463 bytes (added by MikeHansenMe, 8 years ago)
  • wp-admin/network/settings.php

     
    6262                if ( ! isset($_POST[$option_name]) )
    6363                        continue;
    6464                $value = stripslashes_deep( $_POST[$option_name] );
     65                if( 'illegal_names' == $option_name )
     66                        $value = explode( ' ', $value );
    6567                update_site_option( $option_name, $value );
    6668        }
    6769