Plugins: Use newer "Updating PHP" page URL in the notice displayed when a plugin requires a higher PHP version.

Props afragen.
Fixes #43986. See #45686.

git-svn-id: https://develop.svn.wordpress.org/trunk@44420 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-01-07 15:34:34 +00:00
parent 32ec9382a9
commit 6d8e3c5864
3 changed files with 5 additions and 5 deletions

View File

@@ -765,7 +765,7 @@ if ( ! empty( $api->contributors ) ) {
printf(
/* translators: "Updating PHP" page URL */
__( '<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>.' ),
esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) )
esc_url( __( 'https://wordpress.org/support/update-php/' ) )
);
echo '</p></div>';
}