Code Duplication    Length = 13-13 lines in 2 locations

projects/packages/identity-crisis/src/class-identity-crisis.php 1 location

@@ 469-481 (lines=13) @@
466
	 *
467
	 * @return void
468
	 */
469
	public function display_idc_notice() {
470
		$classes = 'jp-idc-notice inline notice notice-warning';
471
		if ( $this->admin_page_has_help_tabs() ) {
472
			$classes .= ' has-help-tabs';
473
		}
474
		?>
475
		<div class="<?php echo esc_attr( $classes ); ?>">
476
			<?php $this->render_notice_header(); ?>
477
			<?php $this->render_notice_first_step(); ?>
478
			<?php $this->render_notice_second_step(); ?>
479
		</div>
480
		<?php
481
	}
482
483
	/**
484
	 * Enqueue CSS for the admin bar.

projects/plugins/jetpack/class.jetpack-idc.php 1 location

@@ 242-254 (lines=13) @@
239
	 * "Confirm Staging" - Dismiss the notice and continue on with our lives in staging mode.
240
	 * "Fix Jetpack Connection" - Will disconnect the site and start the mitigation...
241
	 */
242
	function display_idc_notice() {
243
		$classes = 'jp-idc-notice inline notice notice-warning';
244
		if ( $this->admin_page_has_help_tabs() ) {
245
			$classes .= ' has-help-tabs';
246
		}
247
		?>
248
		<div class="<?php echo $classes; ?>">
249
			<?php $this->render_notice_header(); ?>
250
			<?php $this->render_notice_first_step(); ?>
251
			<?php $this->render_notice_second_step(); ?>
252
		</div>
253
		<?php
254
	}
255
256
	function enqueue_admin_bar_css() {
257
		wp_enqueue_style(