Code Duplication    Length = 2-8 lines in 3 locations

class.jetpack-network.php 1 location

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

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

@@ 1021-1022 (lines=2) @@
1018
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1019
		jetpack_register_social_logos();
1020
1021
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1022
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1023
	}
1024
1025
	/**