Code Duplication    Length = 4-4 lines in 2 locations

wp-includes/theme.php 2 locations

@@ 1758-1761 (lines=4) @@
1755
		if ( $args[0]['wp-head-callback'] )
1756
			add_action( 'wp_head', $args[0]['wp-head-callback'] );
1757
1758
		if ( is_admin() ) {
1759
			require_once( ABSPATH . 'wp-admin/custom-header.php' );
1760
			$custom_image_header = new Custom_Image_Header( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
1761
		}
1762
	}
1763
1764
	if ( current_theme_supports( 'custom-background' ) ) {
@@ 1771-1774 (lines=4) @@
1768
		$args = get_theme_support( 'custom-background' );
1769
		add_action( 'wp_head', $args[0]['wp-head-callback'] );
1770
1771
		if ( is_admin() ) {
1772
			require_once( ABSPATH . 'wp-admin/custom-background.php' );
1773
			$custom_background = new Custom_Background( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
1774
		}
1775
	}
1776
}
1777