Make WordPress Core

Ticket #19785: 19785.patch

File 19785.patch, 1.6 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/css/wp-admin.dev.css

     
    36393639        padding-bottom: 15px;
    36403640}
    36413641
     3642.media-item td.savesend .del-attachment a {
     3643        display: inline-block;
     3644}
     3645
    36423646.media-item .thumbnail {
    36433647        max-height: 128px;
    36443648        max-width: 128px;
  • wp-admin/includes/media.php

     
    11481148                } elseif ( !MEDIA_TRASH ) {
    11491149                        $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a>
    11501150                         <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "
     1151                         <span class='no-break'>
    11511152                         <a href='" . wp_nonce_url( "post.php?action=delete&amp;post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a>
    11521153                         <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a>
     1154                         </span>
    11531155                         </div>";
    11541156                } else {
    11551157                        $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&amp;post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Move to Trash' ) . "</a>