From 0c7ef69803e75fe920b9dea16eec5cfc82e479fc Mon Sep 17 00:00:00 2001
From: Paul Biron <paul@sparrowhawkcomputing.com>
Date: Wed, 2 Dec 2020 13:49:01 -0700
Subject: [PATCH] no message
---
src/wp-admin/includes/update.php | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php
index 8c8d8a0747..e01fd28eb3 100644
|
a
|
b
|
function core_update_footer( $msg = '' ) { |
| 240 | 240 | $cur->current = ''; |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | | if ( ! isset( $cur->url ) ) { |
| 244 | | $cur->url = ''; |
| 245 | | } |
| 246 | | |
| 247 | 243 | if ( ! isset( $cur->response ) ) { |
| 248 | 244 | $cur->response = ''; |
| 249 | 245 | } |
| 250 | 246 | |
| 251 | | $is_development_version = preg_match( '/alpha|beta|RC/', $cur->version ); |
| | 247 | // Include an unmodified $wp_version. |
| | 248 | require ABSPATH . WPINC . '/version.php'; |
| | 249 | |
| | 250 | $is_development_version = preg_match( '/alpha|beta|RC/', $wp_version ); |
| 252 | 251 | |
| 253 | 252 | if ( $is_development_version && 'latest' === $cur->response ) { |
| 254 | 253 | $cur->response = 'development'; |