Remove unnecessary action attribute on a form. It should always post to itself. fixes #12165
git-svn-id: https://develop.svn.wordpress.org/trunk@13521 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7ddb80402
commit
6bee083b27
@ -89,7 +89,7 @@ case 'edit' :
|
||||
<?php screen_icon(); ?>
|
||||
<h2><?php _e( 'Edit Media' ); ?></h2>
|
||||
|
||||
<form method="post" action="<?php echo esc_url( remove_query_arg( 'message' ) ); ?>" class="media-upload-form" id="media-single-form">
|
||||
<form method="post" action="" class="media-upload-form" id="media-single-form">
|
||||
<p class="submit" style="padding-bottom: 0;">
|
||||
<input type="submit" class="button-primary" name="save" value="<?php esc_attr_e('Update Media'); ?>" />
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user