Code Duplication    Length = 2-8 lines in 3 locations

class.jetpack-idc.php 1 location

@@ 281-288 (lines=8) @@
278
			)
279
		);
280
281
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
282
			wp_register_style(
283
				'jetpack-dops-style',
284
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
285
				array(),
286
				JETPACK__VERSION
287
			);
288
		}
289
290
		wp_enqueue_style(
291
			'jetpack-idc-css',

class.jetpack-network.php 1 location

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

class.jetpack.php 1 location

@@ 1057-1058 (lines=2) @@
1054
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1055
		jetpack_register_social_logos();
1056
1057
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1058
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1059
	}
1060
1061
	/**