|
@@ 424-431 (lines=8) @@
|
| 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 ) ) ), |
| 428 |
|
esc_url( wp_get_update_php_url() ) |
| 429 |
|
); |
| 430 |
|
wp_update_php_annotation(); |
| 431 |
|
} |
| 432 |
|
} elseif ( ! $compatible_wp ) { |
| 433 |
|
esc_html_e( 'This plugin doesn’t work with your version of WordPress.', 'jetpack' ); |
| 434 |
|
if ( current_user_can( 'update_core' ) ) { |
|
@@ 432-441 (lines=10) @@
|
| 429 |
|
); |
| 430 |
|
wp_update_php_annotation(); |
| 431 |
|
} |
| 432 |
|
} elseif ( ! $compatible_wp ) { |
| 433 |
|
esc_html_e( 'This plugin doesn’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’t work with your version of PHP.', 'jetpack' ); |
| 443 |
|
if ( current_user_can( 'update_php' ) ) { |
| 444 |
|
printf( |