X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a01a150d87a096c70b6ec80332b7ce89c943eefe..b3ddbea8a296025a672b3c3ddca158dc51ed8080:/wp-admin/media-upload.php?ds=sidebyside diff --git a/wp-admin/media-upload.php b/wp-admin/media-upload.php index fc3bf325..b33b0d51 100644 --- a/wp-admin/media-upload.php +++ b/wp-admin/media-upload.php @@ -9,6 +9,9 @@ * @subpackage Administration */ +if ( ! isset( $_GET['inline'] ) ) + define( 'IFRAME_REQUEST' , true ); + /** Load WordPress Administration Bootstrap */ require_once('./admin.php'); @@ -53,6 +56,7 @@ if ( isset($_GET['inline']) ) { $location .= '?message=3'; wp_redirect( admin_url($location) ); + exit; } $title = __('Upload New Media'); @@ -62,7 +66,7 @@ if ( isset($_GET['inline']) ) { '

' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '

' . '

' . __('There are two options for uploading files: Select Files will open the Flash-based uploader (multiple file upload allowed), or you can use the Browser Uploader. Clicking Select Files opens a navigation window showing you files in your operating system. Selecting Open after clicking on the file you want activates a progress bar on the uploader screen. Basic image editing is available after upload is complete. Make sure you click Save before leaving this screen.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Uploading Media Files') . '

' . + '

' . __('Documentation on Uploading Media Files') . '

' . '

' . __('Support Forums') . '

' ); @@ -89,9 +93,7 @@ if ( isset($_GET['inline']) ) {
-

- -

+