Changeset 10150 for trunk/wp-admin/media-upload.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/media-upload.php
r9967 r10150 42 42 wp_redirect( admin_url($location) ); 43 43 } 44 44 45 45 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 46 46 // Upload File button was clicked … … 58 58 <div class="wrap"> 59 59 <?php screen_icon(); ?> 60 <h2><?php echo wp_specialchars( $title ); ?></h2> 60 <h2><?php echo wp_specialchars( $title ); ?></h2> 61 61 62 62 <form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&upload-page-form=" class="media-upload-form type-form validate" id="file-form"> … … 94 94 else 95 95 $type = apply_filters('media_upload_default_type', 'file'); 96 96 97 97 // tab: gallery, library, or type-specific 98 98 if ( isset($_GET['tab']) ) … … 100 100 else 101 101 $tab = apply_filters('media_upload_default_tab', 'type'); 102 102 103 103 $body_id = 'media-upload'; 104 104 105 105 // let the action code decide how to handle the request 106 106 if ( $tab == 'type' || $tab == 'type_url' )
Note: See TracChangeset
for help on using the changeset viewer.