Code Duplication    Length = 4-4 lines in 2 locations

src/includes/class-importer.php 2 locations

@@ 178-181 (lines=4) @@
175
			$component
176
		);
177
178
		if ( false === $component_data ) {
179
			// translators: Component name.
180
			$this->feedback->warning( sprintf( __( 'Skipping %s component—not installed.', 'wordpoints-importer' ), esc_html( $component ) ) );
181
			return;
182
		}
183
184
		if ( true !== $this->supports_component( $component ) ) {
@@ 184-187 (lines=4) @@
181
			return;
182
		}
183
184
		if ( true !== $this->supports_component( $component ) ) {
185
			// translators: Component name.
186
			$this->feedback->warning( sprintf( __( 'Skipping the %s component—not supported.', 'wordpoints-importer' ), $component_data['name'] ) );
187
			return;
188
		}
189
190
		$settings = array();