Code Duplication    Length = 8-11 lines in 2 locations

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

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