Code Duplication    Length = 4-4 lines in 2 locations

wp-includes/ms-functions.php 2 locations

@@ 429-432 (lines=4) @@
426
	   	$errors->add('user_name', __( 'Please enter a username.' ) );
427
428
	$illegal_names = get_site_option( 'illegal_names' );
429
	if ( ! is_array( $illegal_names ) ) {
430
		$illegal_names = array(  'www', 'web', 'root', 'admin', 'main', 'invite', 'administrator' );
431
		add_site_option( 'illegal_names', $illegal_names );
432
	}
433
	if ( in_array( $user_name, $illegal_names ) ) {
434
		$errors->add( 'user_name',  __( 'Sorry, that username is not allowed.' ) );
435
	}
@@ 556-559 (lines=4) @@
553
554
	$errors = new WP_Error();
555
	$illegal_names = get_site_option( 'illegal_names' );
556
	if ( $illegal_names == false ) {
557
		$illegal_names = array( 'www', 'web', 'root', 'admin', 'main', 'invite', 'administrator' );
558
		add_site_option( 'illegal_names', $illegal_names );
559
	}
560
561
	/*
562
	 * On sub dir installs, some names are so illegal, only a filter can