|
@@ 440-447 (lines=8) @@
|
| 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 |
|
} elseif ( current_user_can( 'update_php' ) ) { |
| 441 |
|
printf( |
| 442 |
|
/* translators: %s: "Update PHP" page URL */ |
| 443 |
|
' ' . wp_kses( __( '<a href="%s">Learn more about updating PHP</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ), |
| 444 |
|
esc_url( wp_get_update_php_url() ) |
| 445 |
|
); |
| 446 |
|
wp_update_php_annotation(); |
| 447 |
|
} |
| 448 |
|
} elseif ( ! $compatible_wp ) { |
| 449 |
|
esc_html_e( 'This plugin doesn’t work with your version of WordPress.', 'jetpack' ); |
| 450 |
|
if ( current_user_can( 'update_core' ) ) { |
|
@@ 448-457 (lines=10) @@
|
| 445 |
|
); |
| 446 |
|
wp_update_php_annotation(); |
| 447 |
|
} |
| 448 |
|
} elseif ( ! $compatible_wp ) { |
| 449 |
|
esc_html_e( 'This plugin doesn’t work with your version of WordPress.', 'jetpack' ); |
| 450 |
|
if ( current_user_can( 'update_core' ) ) { |
| 451 |
|
printf( |
| 452 |
|
/* translators: %s: "Update WordPress" screen URL */ |
| 453 |
|
' ' . wp_kses( __( '<a href="%s">Please update WordPress</a>.', 'jetpack' ), array( 'a' => array( 'href' => true ) ) ), |
| 454 |
|
esc_url( self_admin_url( 'update-core.php' ) ) |
| 455 |
|
); |
| 456 |
|
} |
| 457 |
|
} elseif ( ! $compatible_php ) { |
| 458 |
|
esc_html_e( 'This plugin doesn’t work with your version of PHP.', 'jetpack' ); |
| 459 |
|
if ( current_user_can( 'update_php' ) ) { |
| 460 |
|
printf( |