Ticket #20426: 20426.patch
| File 20426.patch, 5.2 KB (added by , 14 years ago) |
|---|
-
wp-admin/css/colors-classic.dev.css
426 426 #adminmenu ul.wp-submenu a:hover, 427 427 #the-comment-list .comment a:hover, 428 428 #rightnow a:hover, 429 #media-upload a.del-link:hover,430 429 div.dashboard-widget-submit input:hover, 431 430 .subsubsub a:hover, 432 431 .subsubsub a.current:hover, … … 556 555 a, 557 556 #adminmenu a, 558 557 #the-comment-list p.comment-author strong a, 559 #media-upload a.del-link,560 558 #media-items a.delete, 561 559 .plugins a.delete, 562 560 .ui-tabs-nav a { … … 698 696 table.widefat span.spam a, 699 697 #dashboard_recent_comments .delete a, 700 698 #dashboard_recent_comments .trash a, 701 #dashboard_recent_comments .spam a { 699 #dashboard_recent_comments .spam a, 700 #media-upload a.del-link { 702 701 color: #bc0b0b; 703 702 } 704 703 … … 810 809 table.widefat .trash a:hover, 811 810 table.widefat .spam a:hover, 812 811 #dashboard_recent_comments .delete a:hover, 813 #dashboard_recent_comments .trash a:hover 814 #dashboard_recent_comments .spam a:hover { 812 #dashboard_recent_comments .trash a:hover, 813 #dashboard_recent_comments .spam a:hover, 814 #media-upload a.del-link:hover { 815 815 color: #f00; 816 816 } 817 817 -
wp-admin/css/colors-fresh.dev.css
433 433 #adminmenu ul.wp-submenu a:hover, 434 434 #the-comment-list .comment a:hover, 435 435 #rightnow a:hover, 436 #media-upload a.del-link:hover,437 436 div.dashboard-widget-submit input:hover, 438 437 .subsubsub a:hover, 439 438 .subsubsub a.current:hover, … … 563 562 a, 564 563 #adminmenu a, 565 564 #the-comment-list p.comment-author strong a, 566 #media-upload a.del-link,567 565 #media-items a.delete, 568 566 .plugins a.delete, 569 567 .ui-tabs-nav a { … … 695 693 table.widefat span.spam a, 696 694 #dashboard_recent_comments .delete a, 697 695 #dashboard_recent_comments .trash a, 698 #dashboard_recent_comments .spam a { 696 #dashboard_recent_comments .spam a, 697 #media-upload a.del-link { 699 698 color: #bc0b0b; 700 699 } 701 700 … … 873 872 table.widefat .trash a:hover, 874 873 table.widefat .spam a:hover, 875 874 #dashboard_recent_comments .delete a:hover, 876 #dashboard_recent_comments .trash a:hover 877 #dashboard_recent_comments .spam a:hover { 875 #dashboard_recent_comments .trash a:hover, 876 #dashboard_recent_comments .spam a:hover, 877 #media-upload a.del-link:hover { 878 878 color: #f00; 879 879 } 880 880 -
wp-admin/includes/media.php
1169 1169 $send = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false ); 1170 1170 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1171 1171 if ( !EMPTY_TRASH_DAYS ) { 1172 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Delete Permanently' ) . '</a>';1172 $delete = "<a class='del-link' href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]'>" . __( 'Delete Permanently' ) . '</a>'; 1173 1173 } elseif ( !MEDIA_TRASH ) { 1174 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a>1174 $delete = "<a class='del-link' href='#' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1175 1175 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'><p>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "</p> 1176 1176 <a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a> 1177 1177 <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a> 1178 1178 </div>"; 1179 1179 } else { 1180 $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>1180 $delete = "<a class='del-link' href='" . wp_nonce_url( "post.php?action=trash&post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]'>" . __( 'Move to Trash' ) . "</a> 1181 1181 <a href='" . wp_nonce_url( "post.php?action=untrash&post=$attachment_id", 'untrash-attachment_' . $attachment_id ) . "' id='undo[$attachment_id]' class='undo hidden'>" . __( 'Undo' ) . "</a>"; 1182 1182 } 1183 1183 } else { … … 1197 1197 } 1198 1198 1199 1199 if ( ( $send || $thumbnail || $delete ) && !isset( $form_fields['buttons'] ) ) 1200 $form_fields['buttons'] = array( 'tr' => "\t\t<tr class='submit'><td></td><td class='savesend'>$ send $thumbnail $delete</td></tr>\n" );1200 $form_fields['buttons'] = array( 'tr' => "\t\t<tr class='submit'><td></td><td class='savesend'>$delete $thumbnail $send</td></tr>\n" ); 1201 1201 1202 1202 $hidden_fields = array(); 1203 1203