diff --git src/wp-admin/includes/class-wp-plugin-install-list-table.php src/wp-admin/includes/class-wp-plugin-install-list-table.php
index 94a8fde67e..859bf4f68b 100644
|
|
|
class WP_Plugin_Install_List_Table extends WP_List_Table { |
| 640 | 640 | /* translators: 1: "Update WordPress" screen URL, 2: "Updating PHP" page URL */ |
| 641 | 641 | __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ), |
| 642 | 642 | self_admin_url( 'update-core.php' ), |
| 643 | | esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) ) |
| | 643 | esc_url( __( 'https://wordpress.org/support/update-php/' ) ) |
| 644 | 644 | ); |
| 645 | 645 | } else { |
| 646 | 646 | printf( |
| 647 | 647 | /* translators: %s: "Updating PHP" page URL */ |
| 648 | 648 | __( '<a href="%s">Learn more about updating PHP</a>.' ), |
| 649 | | esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) ) |
| | 649 | esc_url( __( 'https://wordpress.org/support/update-php/' ) ) |
| 650 | 650 | ); |
| 651 | 651 | } |
| 652 | 652 | } elseif ( ! $compatible_wp ) { |
| … |
… |
class WP_Plugin_Install_List_Table extends WP_List_Table { |
| 663 | 663 | printf( |
| 664 | 664 | /* translators: %s: "Updating PHP" page URL */ |
| 665 | 665 | __( '<a href="%s">Learn more about updating PHP</a>.' ), |
| 666 | | esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) ) |
| | 666 | esc_url( __( 'https://wordpress.org/support/update-php/' ) ) |
| 667 | 667 | ); |
| 668 | 668 | } |
| 669 | 669 | echo '</p></div>'; |
diff --git src/wp-admin/includes/plugin-install.php src/wp-admin/includes/plugin-install.php
index 20aece0153..3d277e8998 100644
|
|
|
if ( ! empty( $api->contributors ) ) { |
| 765 | 765 | printf( |
| 766 | 766 | /* translators: "Updating PHP" page URL */ |
| 767 | 767 | __( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>, so unfortunately you cannot install it. <a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ), |
| 768 | | esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) ) |
| | 768 | esc_url( __( 'https://wordpress.org/support/update-php/' ) ) |
| 769 | 769 | ); |
| 770 | 770 | echo '</p></div>'; |
| 771 | 771 | } |