Make WordPress Core

Ticket #6660: insert-into-post-button-ie6-r7638.patch

File insert-into-post-button-ie6-r7638.patch, 813 bytes (added by tellyworth, 18 years ago)
  • wp-admin/includes/media.php

     
    685685
    686686        $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id);
    687687        if ( $send )
    688                 $send = "<button type='submit' class='button' value='1' name='send[$attachment_id]'>" . __('Insert into Post') . '</button>';
     688                $send = "<input type='submit' class='button'name='send[$attachment_id]' value='" . __('Insert into Post') . "' />";
    689689        if ( $delete )
    690690                $delete = "<a href='$delete_href' id='del[$attachment_id]' disabled='disabled' class='delete'>" . __('Delete') . "</button>";
    691691        if ( ( $send || $delete ) && !isset($form_fields['buttons']) )