]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/media-new.php
WordPress 3.8.1-scripts
[autoinstalls/wordpress.git] / wp-admin / media-new.php
index e4288119573db1bfc087d9a323eff3b496809766..75f49f10088cb726a0435e4be60c917af0dd594d 100644 (file)
@@ -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.'));
@@ -65,7 +65,6 @@ if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) )
        $form_class .= ' html-uploader';
 ?>
 <div class="wrap">
-       <?php screen_icon(); ?>
        <h2><?php echo esc_html( $title ); ?></h2>
 
        <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form">