WordPress.org

Make WordPress Core

Changeset 13521


Ignore:
Timestamp:
03/01/2010 01:09:29 AM (8 years ago)
Author:
nacin
Message:

Remove unnecessary action attribute on a form. It should always post to itself. fixes #12165

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/media.php

    r12546 r13521  
    9090<h2><?php _e( 'Edit Media' ); ?></h2>
    9191
    92 <form method="post" action="<?php echo esc_url( remove_query_arg( 'message' ) ); ?>" class="media-upload-form" id="media-single-form">
     92<form method="post" action="" class="media-upload-form" id="media-single-form">
    9393<p class="submit" style="padding-bottom: 0;">
    9494<input type="submit" class="button-primary" name="save" value="<?php esc_attr_e('Update Media'); ?>" />
Note: See TracChangeset for help on using the changeset viewer.