Make WordPress Core

Ticket #12165: 12165.patch

File 12165.patch, 691 bytes (added by reaperhulk, 15 years ago)
  • media.php

     
    8989<?php screen_icon(); ?>
    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="<?php echo esc_url( remove_query_arg( array('message','action','attachment_id') ) ); ?>" 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'); ?>" />
    9595</p>