Changeset 20417 for trunk/wp-admin/includes/media.php
- Timestamp:
- 04/10/2012 01:19:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r20382 r20417 63 63 */ 64 64 function the_media_upload_tabs() { 65 global $redir_tab , $is_iphone;65 global $redir_tab; 66 66 $tabs = media_upload_tabs(); 67 67 68 if ( $is_iphone) {68 if ( wp_is_mobile() ) { 69 69 unset($tabs['type']); 70 70 $default = 'type_url'; … … 529 529 */ 530 530 function wp_media_upload_handler() { 531 global $is_iphone;532 533 531 $errors = array(); 534 532 $id = 0; … … 601 599 } 602 600 603 if ( $is_iphone)601 if ( wp_is_mobile() ) 604 602 return wp_iframe( 'media_upload_type_url_form', 'image', $errors, $id ); 605 603 else … … 1307 1305 */ 1308 1306 function media_upload_form( $errors = null ) { 1309 global $type, $tab, $pagenow, $is_IE, $is_opera , $is_iphone;1310 1311 if ( $is_iphone)1307 global $type, $tab, $pagenow, $is_IE, $is_opera; 1308 1309 if ( wp_is_mobile() ) 1312 1310 return; 1313 1311 … … 1441 1439 */ 1442 1440 function media_upload_type_form($type = 'file', $errors = null, $id = null) { 1443 global $is_iphone; 1444 1445 if ( $is_iphone ) 1441 if ( wp_is_mobile() ) 1446 1442 return; 1447 1443
Note: See TracChangeset
for help on using the changeset viewer.