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'];
@@ 893-895 (lines=3) @@
890
				$defaults['width'] = $this->options['width'];
891
			}
892
893
			if(isset($this->options['height']) && '' !== $this->options['height']){
894
				$defaults['height'] = $this->options['height'];
895
			}
896
897
			if(isset($this->options['cropping']) && '' !== $this->options['cropping']){
898
				$defaults['cropping'] = $this->options['cropping'];