Code Duplication    Length = 2-8 lines in 3 locations

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.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

@@ 1147-1148 (lines=2) @@
1144
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1145
		jetpack_register_social_logos();
1146
1147
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1148
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1149
	}
1150
1151
	/**

class.jetpack-network.php 1 location

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