Code Duplication    Length = 3-8 lines in 3 locations

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

@@ 1323-1325 (lines=3) @@
1320
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1321
		jetpack_register_social_logos();
1322
1323
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1324
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1325
		}
1326
	}
1327
1328
	/**
@@ 4138-4145 (lines=8) @@
4135
	function admin_banner_styles() {
4136
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
4137
4138
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
4139
			wp_register_style(
4140
				'jetpack-dops-style',
4141
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
4142
				array(),
4143
				JETPACK__VERSION
4144
			);
4145
		}
4146
4147
		wp_enqueue_style(
4148
			'jetpack',