Code Duplication    Length = 4-4 lines in 2 locations

src/includes/class-importer.php 2 locations

@@ 326-329 (lines=4) @@
323
			$component
324
		);
325
326
		if ( false === $component_data ) {
327
			$this->feedback->warning( sprintf( __( 'Skipping %s component—not installed.', 'wordpoints-importer' ), esc_html( $component ) ) );
328
			return;
329
		}
330
331
		if ( true !== $this->supports_component( $component ) ) {
332
			$this->feedback->warning( sprintf( __( 'Skipping the %s component—not supported.', 'wordpoints-importer' ), $component_data['name'] ) );
@@ 331-334 (lines=4) @@
328
			return;
329
		}
330
331
		if ( true !== $this->supports_component( $component ) ) {
332
			$this->feedback->warning( sprintf( __( 'Skipping the %s component—not supported.', 'wordpoints-importer' ), $component_data['name'] ) );
333
			return;
334
		}
335
336
		$settings = array();
337