X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..fcaa67f093b5c83deea7a361a8cf8c6ac4e832d3:/wp-admin/media-new.php diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php index c6a7ae14..f68a4eef 100644 --- a/wp-admin/media-new.php +++ b/wp-admin/media-new.php @@ -10,7 +10,7 @@ */ /** Load WordPress Administration Bootstrap */ -require_once('./admin.php'); +require_once( dirname( __FILE__ ) . '/admin.php' ); if (!current_user_can('upload_files')) wp_die(__('You do not have permission to upload files.')); @@ -53,8 +53,8 @@ get_current_screen()->add_help_tab( array( ) ); get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

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

' . + '

' . __('Support Forums') . '

' ); require_once( ABSPATH . 'wp-admin/admin-header.php' ); @@ -65,10 +65,9 @@ if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) ) $form_class .= ' html-uploader'; ?>
-

-
+