Code Duplication    Length = 2-8 lines in 3 locations

class.jetpack.php 1 location

@@ 1128-1129 (lines=2) @@
1125
		require_once( JETPACK__PLUGIN_DIR . '_inc/social-logos.php' );
1126
		jetpack_register_social_logos();
1127
1128
		if ( ! wp_style_is( 'jetpack-icons', 'registered' ) )
1129
			wp_register_style( 'jetpack-icons', plugins_url( 'css/jetpack-icons.min.css', JETPACK__PLUGIN_FILE ), false, JETPACK__VERSION );
1130
	}
1131
1132
	/**

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

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