mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
General: revert [38467], wp_is_IE() should not exist.
See #37699. git-svn-id: https://develop.svn.wordpress.org/trunk@38468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1783,12 +1783,13 @@ 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_opera;
|
||||
global $type, $tab, $is_IE, $is_opera;
|
||||
|
||||
if ( ! _device_can_upload() ) {
|
||||
echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ) . '</p>';
|
||||
|
||||
Reference in New Issue
Block a user