Code Duplication    Length = 4-4 lines in 2 locations

wp-admin/includes/image.php 2 locations

@@ 93-96 (lines=4) @@
90
		$sizes = array();
91
		foreach ( get_intermediate_image_sizes() as $s ) {
92
			$sizes[$s] = array( 'width' => '', 'height' => '', 'crop' => false );
93
			if ( isset( $_wp_additional_image_sizes[$s]['width'] ) ) {
94
				// For theme-added sizes
95
				$sizes[$s]['width'] = intval( $_wp_additional_image_sizes[$s]['width'] );
96
			} else {
97
				// For default sizes set in options
98
				$sizes[$s]['width'] = get_option( "{$s}_size_w" );
99
			}
@@ 101-104 (lines=4) @@
98
				$sizes[$s]['width'] = get_option( "{$s}_size_w" );
99
			}
100
101
			if ( isset( $_wp_additional_image_sizes[$s]['height'] ) ) {
102
				// For theme-added sizes
103
				$sizes[$s]['height'] = intval( $_wp_additional_image_sizes[$s]['height'] );
104
			} else {
105
				// For default sizes set in options
106
				$sizes[$s]['height'] = get_option( "{$s}_size_h" );
107
			}