From e7475d16ba74da4f35237c3cbd3efb7bc2dc285c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 1 Sep 2023 11:03:23 +0000 Subject: [PATCH] Media: Remove unused `$is_IE` and `$is_opera` globals in `media_upload_form()`. Follow-up to [27316]. Props upadalavipul. See #59254. Built from https://develop.svn.wordpress.org/trunk@56504 git-svn-id: http://core.svn.wordpress.org/trunk@56016 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 4 +--- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 0910693fc9..cee19890a7 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -2083,13 +2083,11 @@ function media_upload_header() { * * @global string $type * @global string $tab - * @global bool $is_IE - * @global bool $is_opera * * @param array $errors */ function media_upload_form( $errors = null ) { - global $type, $tab, $is_IE, $is_opera; + global $type, $tab; if ( ! _device_can_upload() ) { echo '

' . sprintf( diff --git a/wp-includes/version.php b/wp-includes/version.php index 09065f6a02..dad2e3e774 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56503'; +$wp_version = '6.4-alpha-56504'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.