Code Duplication    Length = 3-3 lines in 2 locations

classes/class-importer.php 2 locations

@@ 244-246 (lines=3) @@
241
                    $width = $this->options['width'];
242
                }
243
                $height = '600';
244
                if (isset($this->options['height']) && '' !== $this->options['height']) {
245
                    $height = $this->options['height'];
246
                }
247
                $cropping = 'raw';
248
                if (isset($this->options['cropping']) && '' !== $this->options['cropping']) {
249
                    $cropping = $this->options['cropping'];
@@ 881-883 (lines=3) @@
878
				$defaults['width'] = $this->options['width'];
879
			}
880
881
			if(isset($this->options['height']) && '' !== $this->options['height']){
882
				$defaults['height'] = $this->options['height'];
883
			}
884
885
			if(isset($this->options['cropping']) && '' !== $this->options['cropping']){
886
				$defaults['cropping'] = $this->options['cropping'];