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
This commit is contained in:
Sergey Biryukov 2023-09-01 11:03:23 +00:00
parent e770b922c7
commit e7475d16ba
2 changed files with 2 additions and 4 deletions

View File

@ -2083,13 +2083,11 @@ function media_upload_header() {
* *
* @global string $type * @global string $type
* @global string $tab * @global string $tab
* @global bool $is_IE
* @global bool $is_opera
* *
* @param array $errors * @param array $errors
*/ */
function media_upload_form( $errors = null ) { function media_upload_form( $errors = null ) {
global $type, $tab, $is_IE, $is_opera; global $type, $tab;
if ( ! _device_can_upload() ) { if ( ! _device_can_upload() ) {
echo '<p>' . sprintf( echo '<p>' . sprintf(

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.