Code Duplication    Length = 2-8 lines in 3 locations

class.jetpack-idc.php 1 location

@@ 287-294 (lines=8) @@
284
			)
285
		);
286
287
		if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
288
			wp_register_style(
289
				'jetpack-dops-style',
290
				plugins_url( '_inc/build/admin.css', JETPACK__PLUGIN_FILE ),
291
				array(),
292
				JETPACK__VERSION
293
			);
294
		}
295
296
		wp_enqueue_style(
297
			'jetpack-idc-css',

class.jetpack-network.php 1 location

@@ 307-309 (lines=3) @@
304
		require_once JETPACK__PLUGIN_DIR . '_inc/genericons.php';
305
		jetpack_register_genericons();
306
307
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
308
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
309
		}
310
311
		add_action( 'admin_enqueue_scripts', array( $this, 'admin_menu_css' ) );
312
	}

class.jetpack.php 1 location

@@ 1107-1108 (lines=2) @@
1104
		require_once JETPACK__PLUGIN_DIR . '_inc/social-logos.php';
1105
		jetpack_register_social_logos();
1106
1107
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) ) {
1108
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1109
		}
1110
	}
1111