Code Duplication    Length = 8-11 lines in 2 locations

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

@@ 447-454 (lines=8) @@
444
							' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
445
							esc_url( self_admin_url( 'update-core.php' ) )
446
						);
447
					} elseif ( current_user_can( 'update_php' ) ) {
448
						printf(
449
							/* translators: %s: "Update PHP" page URL */
450
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
451
							esc_url( $this->jp_get_update_php_url() )
452
						);
453
						$this->jp_update_php_annotation();
454
					}
455
				} elseif ( ! $compatible_wp ) {
456
					esc_html_e( 'This plugin doesn&#8217;t work with your version of WordPress.', 'jetpack' );
457
					if ( current_user_can( 'update_core' ) ) {
@@ 464-474 (lines=11) @@
461
							esc_url( self_admin_url( 'update-core.php' ) )
462
						);
463
					}
464
				} elseif ( ! $compatible_php ) {
465
					esc_html_e( 'This plugin doesn&#8217;t work with your version of PHP.', 'jetpack' );
466
					if ( current_user_can( 'update_php' ) ) {
467
						printf(
468
							/* translators: %s: "Update PHP" page URL */
469
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
470
							esc_url( $this->jp_get_update_php_url() )
471
						);
472
						$this->jp_update_php_annotation();
473
					}
474
				}
475
				echo '</p></div>';
476
			}
477
			?>