Code Duplication    Length = 2-8 lines in 3 locations

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
	}

class.jetpack-idc.php 1 location

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

class.jetpack.php 1 location

@@ 1176-1177 (lines=2) @@
1173
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1174
		jetpack_register_social_logos();
1175
1176
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1177
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1178
	}
1179
1180
	/**