Remove unnecessary action attribute on a form. It should always post to itself. fixes #12165
git-svn-id: http://svn.automattic.com/wordpress/trunk@13521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
88f4b87d15
commit
d562d6dd89
|
@ -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