| @@ 398-405 (lines=8) @@ | ||
| 395 | ' ' . __( '<a href="%s">Please update WordPress</a>.' ), |
|
| 396 | self_admin_url( 'update-core.php' ) |
|
| 397 | ); |
|
| 398 | } elseif ( current_user_can( 'update_php' ) ) { |
|
| 399 | printf( |
|
| 400 | /* translators: %s: "Update PHP" page URL */ |
|
| 401 | ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), |
|
| 402 | esc_url( wp_get_update_php_url() ) |
|
| 403 | ); |
|
| 404 | wp_update_php_annotation(); |
|
| 405 | } |
|
| 406 | } elseif ( ! $compatible_wp ) { |
|
| 407 | _e( 'This plugin doesn’t work with your version of WordPress.' ); |
|
| 408 | if ( current_user_can( 'update_core' ) ) { |
|
| @@ 415-425 (lines=11) @@ | ||
| 412 | self_admin_url( 'update-core.php' ) |
|
| 413 | ); |
|
| 414 | } |
|
| 415 | } elseif ( ! $compatible_php ) { |
|
| 416 | _e( 'This plugin doesn’t work with your version of PHP.' ); |
|
| 417 | if ( current_user_can( 'update_php' ) ) { |
|
| 418 | printf( |
|
| 419 | /* translators: %s: "Update PHP" page URL */ |
|
| 420 | ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), |
|
| 421 | esc_url( wp_get_update_php_url() ) |
|
| 422 | ); |
|
| 423 | wp_update_php_annotation(); |
|
| 424 | } |
|
| 425 | } |
|
| 426 | echo '</p></div>'; |
|
| 427 | } |
|
| 428 | ?> |
|