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

@@ 1317-1319 (lines=3) @@
1314
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1315
		jetpack_register_social_logos();
1316
1317
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1318
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1319
		}
1320
	}
1321
1322
	/**
@@ 4090-4097 (lines=8) @@
4087
	function admin_banner_styles() {
4088
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
4089
4090
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
4091
			wp_register_style(
4092
				'jetpack-dops-style',
4093
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
4094
				array(),
4095
				JETPACK__VERSION
4096
			);
4097
		}
4098
4099
		wp_enqueue_style(
4100
			'jetpack',