get_current_screen()->
set_help_sidebar( '<p><strong>' .
__( 'For more information:'
) . '</strong></p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/media-add-new-screen/">Documentation on Uploading Media Files</a>'
) . '</p>' .
'<p>' .
__( '<a href="https://wordpress.org/support/forums/">Support forums</a>'
) . '</p>'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
$form_class = 'media-upload-form type-form validate';
if ( get_user_setting( 'uploader'
) ||
isset( $_GET['browser-uploader'
] ) ) { $form_class .= ' html-uploader';
}?>
<div class="wrap">
<h1><?php
echo esc_html( $title ); ?></h1>
<form enctype="multipart/form-data" method="post" action="<?php
echo esc_url( admin_url( 'media-new.php'
) ); ?>" class="<?php
echo esc_attr( $form_class ); ?>" id="file-form">
<?php
media_upload_form(); ?>
<script type="text/javascript">
var post_id =