Code Duplication    Length = 2-8 lines in 3 locations

class.jetpack-network.php 1 location

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

class.jetpack-idc.php 1 location

@@ 278-285 (lines=8) @@
275
			)
276
		);
277
278
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
279
			wp_register_style(
280
				'jetpack-dops-style',
281
				plugins_url( '_inc/build/admin.dops-style.css', JETPACK__PLUGIN_FILE ),
282
				array(),
283
				JETPACK__VERSION
284
			);
285
		}
286
287
		wp_enqueue_style(
288
			'jetpack-idc-css',

class.jetpack.php 1 location

@@ 1143-1144 (lines=2) @@
1140
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1141
		jetpack_register_social_logos();
1142
1143
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1144
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1145
	}
1146
1147
	/**