Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/theme.php 2 locations

@@ 2449-2452 (lines=4) @@
2446
		if ( $args[0]['wp-head-callback'] )
2447
			add_action( 'wp_head', $args[0]['wp-head-callback'] );
2448
2449
		if ( is_admin() ) {
2450
			require_once( ABSPATH . 'wp-admin/custom-header.php' );
2451
			$custom_image_header = new Custom_Image_Header( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
2452
		}
2453
	}
2454
2455
	if ( current_theme_supports( 'custom-background' ) ) {
@@ 2462-2465 (lines=4) @@
2459
		$args = get_theme_support( 'custom-background' );
2460
		add_action( 'wp_head', $args[0]['wp-head-callback'] );
2461
2462
		if ( is_admin() ) {
2463
			require_once( ABSPATH . 'wp-admin/custom-background.php' );
2464
			$custom_background = new Custom_Background( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
2465
		}
2466
	}
2467
}
2468