Ticket #19785: 19785.patch
File 19785.patch, 1.6 KB (added by , 13 years ago) |
---|
-
wp-admin/css/wp-admin.dev.css
3639 3639 padding-bottom: 15px; 3640 3640 } 3641 3641 3642 .media-item td.savesend .del-attachment a { 3643 display: inline-block; 3644 } 3645 3642 3646 .media-item .thumbnail { 3643 3647 max-height: 128px; 3644 3648 max-width: 128px; -
wp-admin/includes/media.php
1148 1148 } elseif ( !MEDIA_TRASH ) { 1149 1149 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1150 1150 <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'> 1151 1152 <a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a> 1152 1153 <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a> 1154 </span> 1153 1155 </div>"; 1154 1156 } else { 1155 1157 $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Move to Trash' ) . "</a>