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

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

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

@@ 1251-1252 (lines=2) @@
1248
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1249
		jetpack_register_social_logos();
1250
1251
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1252
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1253
		}
1254
	}
1255
@@ 3957-3964 (lines=8) @@
3954
	function admin_banner_styles() {
3955
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3956
3957
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
3958
			wp_register_style(
3959
				'jetpack-dops-style',
3960
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
3961
				array(),
3962
				JETPACK__VERSION
3963
			);
3964
		}
3965
3966
		wp_enqueue_style(
3967
			'jetpack',