Code Duplication    Length = 7-11 lines in 3 locations

_inc/lib/admin-pages/class-jetpack-about-page.php 3 locations

@@ 452-458 (lines=7) @@
449
							esc_url( wp_get_update_php_url() )
450
						);
451
						wp_update_php_annotation();
452
					} elseif ( current_user_can( 'update_core' ) ) {
453
						printf(
454
							/* translators: %s: "Update WordPress" screen URL */
455
							' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
456
							esc_url( self_admin_url( 'update-core.php' ) )
457
						);
458
					} elseif ( current_user_can( 'update_php' ) ) {
459
						printf(
460
							/* translators: %s: "Update PHP" page URL */
461
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
@@ 468-474 (lines=7) @@
465
					}
466
				} elseif ( ! $compatible_wp ) {
467
					esc_html_e( 'This plugin doesn&#8217;t work with your version of WordPress.', 'jetpack' );
468
					if ( current_user_can( 'update_core' ) ) {
469
						printf(
470
							/* translators: %s: "Update WordPress" screen URL */
471
							' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
472
							esc_url( self_admin_url( 'update-core.php' ) )
473
						);
474
					}
475
				} elseif ( ! $compatible_php ) {
476
					esc_html_e( 'This plugin doesn&#8217;t work with your version of PHP.', 'jetpack' );
477
					if ( current_user_can( 'update_php' ) ) {
@@ 475-485 (lines=11) @@
472
							esc_url( self_admin_url( 'update-core.php' ) )
473
						);
474
					}
475
				} elseif ( ! $compatible_php ) {
476
					esc_html_e( 'This plugin doesn&#8217;t work with your version of PHP.', 'jetpack' );
477
					if ( current_user_can( 'update_php' ) ) {
478
						printf(
479
							/* translators: %s: "Update PHP" page URL */
480
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
481
							esc_url( wp_get_update_php_url() )
482
						);
483
						wp_update_php_annotation();
484
					}
485
				}
486
				echo '</p></div>';
487
			}
488
			?>