WordPress.org

Make WordPress Core

Changeset 7655


Ignore:
Timestamp:
04/14/08 16:38:25 (7 years ago)
Author:
ryan
Message:

Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk

File:
1 edited

Legend:

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

    r7654 r7655  
    687687    $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id); 
    688688    if ( $send ) 
    689         $send = "<button type='submit' class='button' value='1' name='send[$attachment_id]'>" . __('Insert into Post') . '</button>'; 
     689        $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . __('Insert into Post') . "' />"; 
    690690    if ( $delete ) 
    691691        $delete = "<a href='$delete_href' id='del[$attachment_id]' disabled='disabled' class='delete'>" . __('Delete') . "</button>"; 
Note: See TracChangeset for help on using the changeset viewer.