Code Duplication    Length = 2-8 lines in 4 locations

class.jetpack-network.php 1 location

@@ 282-284 (lines=3) @@
279
		require_once( JETPACK__PLUGIN_DIR . '_inc/genericons.php' );
280
		jetpack_register_genericons();
281
282
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
283
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
284
		}
285
286
		add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) );
287
	}

class.jetpack-idc.php 1 location

@@ 270-277 (lines=8) @@
267
			)
268
		);
269
270
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
271
			wp_register_style(
272
				'jetpack-dops-style',
273
				plugins_url( '_inc/build/admin.dops-style.css', JETPACK__PLUGIN_FILE ),
274
				array(),
275
				JETPACK__VERSION
276
			);
277
		}
278
279
		wp_enqueue_style(
280
			'jetpack-idc-css',

class.jetpack.php 2 locations

@@ 1016-1017 (lines=2) @@
1013
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1014
		jetpack_register_social_logos();
1015
1016
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1017
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1018
	}
1019
1020
	/**
@@ 3772-3779 (lines=8) @@
3769
	function admin_banner_styles() {
3770
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3771
3772
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
3773
			wp_register_style(
3774
				'jetpack-dops-style',
3775
				plugins_url( '_inc/build/admin.dops-style.css', JETPACK__PLUGIN_FILE ),
3776
				array(),
3777
				JETPACK__VERSION
3778
			);
3779
		}
3780
3781
		wp_enqueue_style(
3782
			'jetpack',