Make WordPress Core

Changeset 56504


Ignore:
Timestamp:
09/01/2023 11:01:24 AM (13 months ago)
Author:
SergeyBiryukov
Message:

Media: Remove unused $is_IE and $is_opera globals in media_upload_form().

Follow-up to [27316].

Props upadalavipul.
See #59254.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r56174 r56504  
    20842084 * @global string $type
    20852085 * @global string $tab
    2086  * @global bool   $is_IE
    2087  * @global bool   $is_opera
    20882086 *
    20892087 * @param array $errors
    20902088 */
    20912089function media_upload_form( $errors = null ) {
    2092     global $type, $tab, $is_IE, $is_opera;
     2090    global $type, $tab;
    20932091
    20942092    if ( ! _device_can_upload() ) {
Note: See TracChangeset for help on using the changeset viewer.