Use admin_url() for the media-upload.php url. see #13685
git-svn-id: https://develop.svn.wordpress.org/trunk@15171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ce41df6dd6
commit
58e91dd3c2
@ -70,7 +70,7 @@ if ( isset($_GET['inline']) ) {
|
||||
<?php screen_icon(); ?>
|
||||
<h2><?php echo esc_html( $title ); ?></h2>
|
||||
|
||||
<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">
|
||||
<form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-upload.php?inline=&upload-page-form='); ?>" class="media-upload-form type-form validate" id="file-form">
|
||||
|
||||
<?php media_upload_form(); ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user