Code Duplication    Length = 3-3 lines in 2 locations

classes/class-importer.php 2 locations

@@ 255-257 (lines=3) @@
252
                    $width = $this->options['width'];
253
                }
254
                $height = '768';
255
                if (isset($this->options['height']) && '' !== $this->options['height']) {
256
                    $height = $this->options['height'];
257
                }
258
                $cropping = 'w';
259
                if (isset($this->options['cropping']) && '' !== $this->options['cropping']) {
260
                    $cropping = $this->options['cropping'];
@@ 910-912 (lines=3) @@
907
				$defaults['width'] = $this->options['width'];
908
			}
909
910
			if(isset($this->options['height']) && '' !== $this->options['height']){
911
				$defaults['height'] = $this->options['height'];
912
			}
913
914
			if(isset($this->options['cropping']) && '' !== $this->options['cropping']){
915
				$defaults['cropping'] = $this->options['cropping'];