Code Duplication    Length = 2-8 lines in 4 locations

projects/plugins/jetpack/class.jetpack-idc.php 1 location

@@ 289-296 (lines=8) @@
286
			)
287
		);
288
289
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
290
			wp_register_style(
291
				'jetpack-dops-style',
292
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
293
				array(),
294
				JETPACK__VERSION
295
			);
296
		}
297
298
		wp_enqueue_style(
299
			'jetpack-idc-css',

projects/plugins/jetpack/class.jetpack-network.php 1 location

@@ 309-311 (lines=3) @@
306
		require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php';
307
		jetpack_register_genericons();
308
309
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
310
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
311
		}
312
313
		add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) );
314
	}

projects/plugins/jetpack/class.jetpack.php 2 locations

@@ 1289-1290 (lines=2) @@
1286
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1287
		jetpack_register_social_logos();
1288
1289
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1290
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1291
		}
1292
	}
1293
@@ 3991-3998 (lines=8) @@
3988
	function admin_banner_styles() {
3989
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3990
3991
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
3992
			wp_register_style(
3993
				'jetpack-dops-style',
3994
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
3995
				array(),
3996
				JETPACK__VERSION
3997
			);
3998
		}
3999
4000
		wp_enqueue_style(
4001
			'jetpack',