Code Duplication    Length = 10-16 lines in 4 locations

includes/admin/class-wc-admin-setup-wizard.php 4 locations

@@ 1005-1020 (lines=16) @@
1002
							'plugins'     => $this->get_wcs_requisite_plugins(),
1003
						)
1004
					);
1005
				elseif ( $is_shipstation_supported ) :
1006
					$this->display_recommended_item(
1007
						array(
1008
							'type'        => 'shipstation',
1009
							'title'       => __( 'Did you know you can print shipping labels at home?', 'woocommerce' ),
1010
							'description' => __( 'We recommend using ShipStation to save time at the post office by printing your shipping labels at home. Try ShipStation free for 30 days.', 'woocommerce' ),
1011
							'img_url'     => WC()->plugin_url() . '/assets/images/obw-shipstation-icon.png',
1012
							'img_alt'     => __( 'ShipStation icon', 'woocommerce' ),
1013
							'plugins'     => array(
1014
								array(
1015
									'name' => __( 'ShipStation', 'woocommerce' ),
1016
									'slug' => 'woocommerce-shipstation-integration',
1017
								),
1018
							),
1019
						)
1020
					);
1021
				endif;
1022
				?>
1023
				</ul>
@@ 1965-1974 (lines=10) @@
1962
					) );
1963
				endif;
1964
1965
				if ( $this->should_show_wc_admin() ) :
1966
					$this->display_recommended_item( array(
1967
						'type'        => 'wc_admin',
1968
						'title'       => __( 'WooCommerce Admin', 'woocommerce' ),
1969
						'description' => __( 'Manage your store\'s reports and monitor key metrics with a new and improved interface and dashboard.', 'woocommerce' ),
1970
						'img_url'     => WC()->plugin_url() . '/assets/images/obw-woocommerce-admin-icon.svg',
1971
						'img_alt'     => __( 'WooCommerce Admin icon', 'woocommerce' ),
1972
						'plugins'     => array( array( 'name' => __( 'WooCommerce Admin', 'woocommerce' ), 'slug' => 'woocommerce-admin' ) ),
1973
					) );
1974
				endif;
1975
1976
				if ( $this->should_show_mailchimp() ) :
1977
					$this->display_recommended_item( array(
@@ 1976-1985 (lines=10) @@
1973
					) );
1974
				endif;
1975
1976
				if ( $this->should_show_mailchimp() ) :
1977
					$this->display_recommended_item( array(
1978
						'type'        => 'mailchimp',
1979
						'title'       => __( 'Mailchimp', 'woocommerce' ),
1980
						'description' => __( 'Join the 16 million customers who use Mailchimp. Sync list and store data to send automated emails, and targeted campaigns.', 'woocommerce' ),
1981
						'img_url'     => WC()->plugin_url() . '/assets/images/obw-mailchimp-icon.svg',
1982
						'img_alt'     => __( 'Mailchimp icon', 'woocommerce' ),
1983
						'plugins'     => array( array( 'name' => __( 'Mailchimp for WooCommerce', 'woocommerce' ), 'slug' => 'mailchimp-for-woocommerce' ) ),
1984
					) );
1985
				endif;
1986
1987
				if ( $this->should_show_facebook() ) :
1988
					$this->display_recommended_item( array(
@@ 1987-1996 (lines=10) @@
1984
					) );
1985
				endif;
1986
1987
				if ( $this->should_show_facebook() ) :
1988
					$this->display_recommended_item( array(
1989
						'type'        => 'facebook',
1990
						'title'       => __( 'Facebook', 'woocommerce' ),
1991
						'description' => __( 'Enjoy all Facebook products combined in one extension: pixel tracking, catalog sync, messenger chat, shop functionality and Instagram shopping (coming soon)!', 'woocommerce' ),
1992
						'img_url'     => WC()->plugin_url() . '/assets/images/obw-facebook-icon.svg',
1993
						'img_alt'     => __( 'Facebook icon', 'woocommerce' ),
1994
						'plugins'     => array( array( 'name' => __( 'Facebook for WooCommerce', 'woocommerce' ), 'slug' => 'facebook-for-woocommerce' ) ),
1995
					) );
1996
				endif;
1997
			?>
1998
		</ul>
1999
			<p class="wc-setup-actions step">