mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Upgrade/Install: Remove unused globals in core_upgrade_preamble().
Follow-up to [49638]. Props upadalavipul. See #59254. git-svn-id: https://develop.svn.wordpress.org/trunk@56505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -242,13 +242,8 @@ function dismissed_updates() {
|
||||
* Display upgrade WordPress for downloading latest or upgrading automatically form.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global string $required_php_version The required PHP version string.
|
||||
* @global string $required_mysql_version The required MySQL version string.
|
||||
*/
|
||||
function core_upgrade_preamble() {
|
||||
global $required_php_version, $required_mysql_version;
|
||||
|
||||
$updates = get_core_updates();
|
||||
|
||||
// Include an unmodified $wp_version.
|
||||
|
||||
Reference in New Issue
Block a user