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