diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 5ea85f3137..73181282e4 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1609,9 +1609,9 @@ function wp_check_browser_version() { } /** - * Displays the PHP upgrade nag. + * Displays the PHP update nag. * - * @since 5.0.0 + * @since 5.1.0 */ function wp_dashboard_php_nag() { $response = wp_check_php_version(); @@ -1626,6 +1626,9 @@ function wp_dashboard_php_nag() { $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP.' ); } + $update_url = wp_get_update_php_url(); + $default_url = wp_get_default_update_php_url(); + ?>
@@ -1634,22 +1637,36 @@ function wp_dashboard_php_nag() { ++ see the official WordPress documentation.' ), + esc_url( $default_url ) + ); + ?> +
+