Code Duplication    Length = 7-11 lines in 3 locations

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

@@ 418-424 (lines=7) @@
415
							esc_url( wp_get_update_php_url() )
416
						);
417
						wp_update_php_annotation();
418
					} elseif ( current_user_can( 'update_core' ) ) {
419
						printf(
420
							/* translators: %s: "Update WordPress" screen URL */
421
							' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
422
							esc_url( self_admin_url( 'update-core.php' ) )
423
						);
424
					} elseif ( current_user_can( 'update_php' ) ) {
425
						printf(
426
							/* translators: %s: "Update PHP" page URL */
427
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
@@ 434-440 (lines=7) @@
431
					}
432
				} elseif ( ! $compatible_wp ) {
433
					esc_html_e( 'This plugin doesn&#8217;t work with your version of WordPress.', 'jetpack' );
434
					if ( current_user_can( 'update_core' ) ) {
435
						printf(
436
							/* translators: %s: "Update WordPress" screen URL */
437
							' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
438
							esc_url( self_admin_url( 'update-core.php' ) )
439
						);
440
					}
441
				} elseif ( ! $compatible_php ) {
442
					esc_html_e( 'This plugin doesn&#8217;t work with your version of PHP.', 'jetpack' );
443
					if ( current_user_can( 'update_php' ) ) {
@@ 441-451 (lines=11) @@
438
							esc_url( self_admin_url( 'update-core.php' ) )
439
						);
440
					}
441
				} elseif ( ! $compatible_php ) {
442
					esc_html_e( 'This plugin doesn&#8217;t work with your version of PHP.', 'jetpack' );
443
					if ( current_user_can( 'update_php' ) ) {
444
						printf(
445
							/* translators: %s: "Update PHP" page URL */
446
							' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ),
447
							esc_url( wp_get_update_php_url() )
448
						);
449
						wp_update_php_annotation();
450
					}
451
				}
452
				echo '</p></div>';
453
			}
454
			?>