Code Duplication    Length = 3-8 lines in 3 locations

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

@@ 296-298 (lines=3) @@
293
		require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php';
294
		jetpack_register_genericons();
295
296
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
297
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
298
		}
299
300
		add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) );
301
	}

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

@@ 1188-1190 (lines=3) @@
1185
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1186
		jetpack_register_social_logos();
1187
1188
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1189
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1190
		}
1191
	}
1192
1193
	/**
@@ 3817-3824 (lines=8) @@
3814
	function admin_banner_styles() {
3815
		$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
3816
3817
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
3818
			wp_register_style(
3819
				'jetpack-dops-style',
3820
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
3821
				array(),
3822
				JETPACK__VERSION
3823
			);
3824
		}
3825
3826
		wp_enqueue_style(
3827
			'jetpack',