Code Duplication    Length = 3-3 lines in 2 locations

classes/class-importer.php 2 locations

@@ 222-224 (lines=3) @@
219
						$width = $this->options['width'];
220
					}
221
					$height = '600';
222
					if (isset($this->options['height']) && '' !== $this->options['height']) {
223
						$height = $this->options['height'];
224
					}
225
					$cropping = 'raw';
226
					if (isset($this->options['cropping']) && '' !== $this->options['cropping']) {
227
						$cropping = $this->options['cropping'];
@@ 851-853 (lines=3) @@
848
				$defaults['width'] = $this->options['width'];
849
			}
850
851
			if(isset($this->options['height']) && '' !== $this->options['height']){
852
				$defaults['height'] = $this->options['height'];
853
			}
854
855
			if(isset($this->options['cropping']) && '' !== $this->options['cropping']){
856
				$defaults['cropping'] = $this->options['cropping'];