Code Duplication    Length = 4-4 lines in 2 locations

sync/class.jetpack-sync-functions.php 2 locations

@@ 254-257 (lines=4) @@
251
			return $url;
252
		}
253
254
		if ( $url[ 'host' ] === "www.{$option_url[ 'host' ]}" ) {
255
			// remove www if not present in option URL
256
			$url[ 'host' ] = $option_url[ 'host' ];
257
		}
258
		if ( $option_url[ 'host' ] === "www.{$url[ 'host' ]}" ) {
259
			// add www if present in option URL
260
			$url[ 'host' ] = $option_url[ 'host' ];
@@ 258-261 (lines=4) @@
255
			// remove www if not present in option URL
256
			$url[ 'host' ] = $option_url[ 'host' ];
257
		}
258
		if ( $option_url[ 'host' ] === "www.{$url[ 'host' ]}" ) {
259
			// add www if present in option URL
260
			$url[ 'host' ] = $option_url[ 'host' ];
261
		}
262
263
		$normalized_url = "{$url['scheme']}://{$url['host']}";
264
		if ( isset( $url['path'] ) ) {