Use admin_url() for the media-upload.php url. see #13685
git-svn-id: http://svn.automattic.com/wordpress/trunk@15171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c89b8c3ef2
commit
359e1620b2
|
@ -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