Ticket #4529: delete-comment.7.diff
File delete-comment.7.diff, 22.1 KB (added by , 15 years ago) |
---|
-
wp-includes/comment.php
208 208 $approved = "comment_approved = '1'"; 209 209 elseif ( 'spam' == $status ) 210 210 $approved = "comment_approved = 'spam'"; 211 elseif ( 'deleted' == $status ) 212 $approved = "comment_approved = 'deleted'"; 211 213 else 212 214 $approved = "( comment_approved = '0' OR comment_approved = '1' )"; 213 215 … … 699 701 $count = $wpdb->get_results( "SELECT comment_approved, COUNT( * ) AS num_comments FROM {$wpdb->comments} {$where} GROUP BY comment_approved", ARRAY_A ); 700 702 701 703 $total = 0; 702 $approved = array('0' => 'moderated', '1' => 'approved', 'spam' => 'spam' );704 $approved = array('0' => 'moderated', '1' => 'approved', 'spam' => 'spam', 'deleted' => 'deleted'); 703 705 $known_types = array_keys( $approved ); 704 706 foreach( (array) $count as $row_num => $row ) { 705 707 $total += $row['num_comments']; … … 735 737 * @return bool False if delete comment query failure, true on success. 736 738 */ 737 739 function wp_delete_comment($comment_id) { 740 if (wp_get_comment_status($comment_id) != 'deleted' && wp_get_comment_status($comment_id) != 'spam') 741 return wp_set_comment_status($comment_id, 'delete'); 742 738 743 global $wpdb; 739 744 do_action('delete_comment', $comment_id); 745 746 wp_unschedule_event(wp_next_scheduled('wp_cron_delete_comment', array($comment_id)), 'wp_cron_delete_comment', array($comment_id)); 740 747 741 748 $comment = get_comment($comment_id); 742 749 … … 760 767 wp_transition_comment_status('delete', $comment->comment_approved, $comment); 761 768 return true; 762 769 } 770 add_action('wp_cron_delete_comment','wp_delete_comment'); 763 771 764 772 /** 765 773 * The status of a comment by ID. … … 784 792 return 'unapproved'; 785 793 elseif ( $approved == 'spam' ) 786 794 return 'spam'; 795 elseif ( $approved == 'deleted' ) 796 return 'deleted'; 787 797 else 788 798 return false; 789 799 } … … 1029 1039 function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) { 1030 1040 global $wpdb; 1031 1041 1042 if (wp_get_comment_status($comment_id) == 'deleted') 1043 wp_unschedule_event(wp_next_scheduled('wp_cron_delete_comment', array($comment_id)), 'wp_cron_delete_comment', array($comment_id)); 1044 1032 1045 $status = '0'; 1033 1046 switch ( $comment_status ) { 1034 1047 case 'hold': … … 1045 1058 $status = 'spam'; 1046 1059 break; 1047 1060 case 'delete': 1048 return wp_delete_comment($comment_id); 1061 if (wp_get_comment_status($comment_id) == 'deleted' || wp_get_comment_status($comment_id) == 'spam') 1062 return wp_delete_comment($comment_id); 1063 $status = 'deleted'; 1064 wp_schedule_single_event(time()+(60*60*24*30), 'wp_cron_delete_comment', array($comment_id)); 1049 1065 break; 1050 1066 default: 1051 1067 return false; -
wp-includes/script-loader.php
63 63 $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20090623' ); 64 64 $scripts->add_data( 'common', 'group', 1 ); 65 65 $scripts->localize( 'common', 'commonL10n', array( 66 'warnDelete' => __("You are about to delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),66 'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."), 67 67 'l10n_print_after' => 'try{convertEntities(commonL10n);}catch(e){};' 68 68 ) ); 69 69 -
wp-admin/edit-comments.php
14 14 15 15 $post_id = isset($_REQUEST['p']) ? (int) $_REQUEST['p'] : 0; 16 16 17 if ( ( isset( $_REQUEST['delete_all_spam'] ) || isset( $_REQUEST['delete_all_spam2'] ) ) && !empty( $_REQUEST['pagegen_timestamp'] ) ) { 18 check_admin_referer('bulk-spam-delete', '_spam_nonce'); 19 17 if ( ( isset( $_REQUEST['destroy_all'] ) || isset( $_REQUEST['destroy_all2'] ) ) && !empty( $_REQUEST['pagegen_timestamp'] ) ) { 18 check_admin_referer('bulk-destroy', '_destroy_nonce'); 19 20 $comment_status = $wpdb->escape( $_REQUEST['comment_status'] ); 20 21 $delete_time = $wpdb->escape( $_REQUEST['pagegen_timestamp'] ); 21 22 if ( current_user_can('moderate_comments')) { 22 $de leted_spam = $wpdb->query( "DELETE FROM $wpdb->comments WHERE comment_approved = 'spam' AND '$delete_time' > comment_date_gmt" );23 $destroyed = $wpdb->query( "DELETE FROM $wpdb->comments WHERE comment_approved = '$comment_status' AND '$delete_time' > comment_date_gmt" ); 23 24 } else { 24 $de leted_spam= 0;25 $destroyed = 0; 25 26 } 26 $redirect_to = 'edit-comments.php?comment_status= spam&deleted=' . (int) $deleted_spam;27 $redirect_to = 'edit-comments.php?comment_status=' . $_REQUEST['comment_status'] . '&destroyed=' . (int) $destroyed; 27 28 if ( $post_id ) 28 29 $redirect_to = add_query_arg( 'p', absint( $post_id ), $redirect_to ); 29 30 wp_redirect( $redirect_to ); … … 31 32 check_admin_referer('bulk-comments'); 32 33 $doaction = ( -1 != $_REQUEST['action'] ) ? $_REQUEST['action'] : $_REQUEST['action2']; 33 34 34 $deleted = $ approved = $unapproved = $spammed = 0;35 $deleted = $destroyed = $approved = $unapproved = $spammed = 0; 35 36 foreach ( (array) $_REQUEST['delete_comments'] as $comment_id) : // Check the permissions on each 36 37 $comment_id = (int) $comment_id; 37 38 $_post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = %d", $comment_id) ); … … 48 49 wp_set_comment_status($comment_id, 'delete'); 49 50 $deleted++; 50 51 break; 52 case 'destroy' : 53 wp_set_comment_status($comment_id, 'delete'); 54 $destroyed++; 55 break; 51 56 case 'approve' : 52 57 wp_set_comment_status($comment_id, 'approve'); 53 58 $approved++; … … 59 64 } 60 65 endforeach; 61 66 62 $redirect_to = 'edit-comments.php?deleted=' . $deleted . '& approved=' . $approved . '&spam=' . $spammed . '&unapproved=' . $unapproved;67 $redirect_to = 'edit-comments.php?deleted=' . $deleted . '&destroyed=' . $destroyed . '&approved=' . $approved . '&spam=' . $spammed . '&unapproved=' . $unapproved; 63 68 if ( $post_id ) 64 69 $redirect_to = add_query_arg( 'p', absint( $post_id ), $redirect_to ); 65 70 if ( isset($_REQUEST['apage']) ) … … 86 91 $mode = ( ! isset($_GET['mode']) || empty($_GET['mode']) ) ? 'detail' : esc_attr($_GET['mode']); 87 92 88 93 $comment_status = isset($_REQUEST['comment_status']) ? $_REQUEST['comment_status'] : 'all'; 89 if ( !in_array($comment_status, array('all', 'moderated', 'approved', 'spam' )) )94 if ( !in_array($comment_status, array('all', 'moderated', 'approved', 'spam', 'deleted')) ) 90 95 $comment_status = 'all'; 91 96 92 97 $comment_type = !empty($_GET['comment_type']) ? esc_attr($_GET['comment_type']) : ''; … … 102 107 </h2> 103 108 104 109 <?php 105 if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET[' spam'] ) ) {110 if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['destroyed'] ) || isset( $_GET['spam'] ) ) { 106 111 $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0; 107 112 $deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0; 113 $destroyed = isset( $_GET['destroyed'] ) ? (int) $_GET['destroyed'] : 0; 108 114 $spam = isset( $_GET['spam'] ) ? (int) $_GET['spam'] : 0; 109 115 110 if ( $approved > 0 || $deleted > 0 || $ spam > 0 ) {116 if ( $approved > 0 || $deleted > 0 || $destroyed > 0 || $spam > 0 ) { 111 117 echo '<div id="moderated" class="updated fade"><p>'; 112 118 113 119 if ( $approved > 0 ) { 114 120 printf( _n( '%s comment approved', '%s comments approved', $approved ), $approved ); 115 121 echo '<br />'; 116 122 } 117 123 if ( $spam > 0 ) { 124 printf( _n( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); 125 echo '<br />'; 126 } 118 127 if ( $deleted > 0 ) { 119 128 printf( _n( '%s comment deleted', '%s comments deleted', $deleted ), $deleted ); 120 129 echo '<br />'; 121 130 } 122 123 if ( $spam > 0 ) { 124 printf( _n( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); 131 if ( $destroyed > 0 ) { 132 printf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $destroyed ), $destroyed ); 125 133 echo '<br />'; 126 134 } 127 135 … … 141 149 'all' => _n_noop('All', 'All'), // singular not used 142 150 'moderated' => _n_noop('Pending (<span class="pending-count">%s</span>)', 'Pending (<span class="pending-count">%s</span>)'), 143 151 'approved' => _n_noop('Approved', 'Approved'), // singular not used 144 'spam' => _n_noop('Spam (<span class="spam-count">%s</span>)', 'Spam (<span class="spam-count">%s</span>)') 152 'spam' => _n_noop('Spam (<span class="spam-count">%s</span>)', 'Spam (<span class="spam-count">%s</span>)'), 153 'deleted' => _n_noop('Deleted (<span class="deleted-count">%s</span>)', 'Deleted (<span class="deleted-count">%s</span>)') 145 154 ); 146 155 $link = 'edit-comments.php'; 147 156 if ( !empty($comment_type) && 'all' != $comment_type ) … … 246 255 <?php if ( 'all' == $comment_status || 'approved' == $comment_status ): ?> 247 256 <option value="unapprove"><?php _e('Unapprove'); ?></option> 248 257 <?php endif; ?> 249 <?php if ( 'a ll' == $comment_status || 'moderated' == $comment_status || 'spam' == $comment_status ): ?>258 <?php if ( 'approved' != $comment_status ): ?> 250 259 <option value="approve"><?php _e('Approve'); ?></option> 251 260 <?php endif; ?> 252 261 <?php if ( 'spam' != $comment_status ): ?> 253 262 <option value="markspam"><?php _e('Mark as Spam'); ?></option> 254 263 <?php endif; ?> 264 <?php if ( 'deleted' == $comment_status || 'spam' == $comment_status ): ?> 265 <option value="destroy"><?php _e('Delete Permanently'); ?></option> 266 <?php else: ?> 255 267 <option value="delete"><?php _e('Delete'); ?></option> 268 <?php endif; ?> 256 269 </select> 257 270 <input type="submit" name="doaction" id="doaction" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary apply" /> 258 271 <?php wp_nonce_field('bulk-comments'); ?> … … 278 291 <input type="hidden" name="apage" value="<?php echo esc_attr( absint( $_GET['apage'] ) ); ?>" /> 279 292 <?php } 280 293 281 if ( 'spam' == $comment_status ) {282 wp_nonce_field('bulk- spam-delete', '_spam_nonce');294 if ( 'spam' == $comment_status || 'deleted' == $comment_status ) { 295 wp_nonce_field('bulk-destroy', '_destroy_nonce'); 283 296 if ( current_user_can ('moderate_comments')) { ?> 284 <input type="submit" name="de lete_all_spam" value="<?php esc_attr_e('Delete All Spam'); ?>" class="button-secondary apply" />285 <?php 297 <input type="submit" name="destroy_all" id="destroy_all" value="<?php esc_attr_e('Permanently Delete All'); ?>" class="button-secondary apply" /> 298 <?php } 286 299 } ?> 287 300 <?php do_action('manage_comments_nav', $comment_status); ?> 288 301 </div> … … 333 346 <?php if ( 'all' == $comment_status || 'approved' == $comment_status ): ?> 334 347 <option value="unapprove"><?php _e('Unapprove'); ?></option> 335 348 <?php endif; ?> 336 <?php if ( 'a ll' == $comment_status || 'moderated' == $comment_status || 'spam' == $comment_status ): ?>349 <?php if ( 'approved' != $comment_status ): ?> 337 350 <option value="approve"><?php _e('Approve'); ?></option> 338 351 <?php endif; ?> 339 352 <?php if ( 'spam' != $comment_status ): ?> 340 353 <option value="markspam"><?php _e('Mark as Spam'); ?></option> 341 354 <?php endif; ?> 355 <?php if ( 'deleted' == $comment_status || 'spam' == $comment_status ): ?> 356 <option value="destroy"><?php _e('Delete Permanently'); ?></option> 357 <?php else: ?> 342 358 <option value="delete"><?php _e('Delete'); ?></option> 359 <?php endif; ?> 343 360 </select> 344 361 <input type="submit" name="doaction2" id="doaction2" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary apply" /> 345 362 346 <?php if ( 'spam' == $comment_status ) { ?>347 <input type="submit" name="de lete_all_spam2" value="<?php esc_attr_e('Delete All Spam'); ?>" class="button-secondary apply" />363 <?php if ( 'spam' == $comment_status || 'deleted' == $comment_status ) { ?> 364 <input type="submit" name="destroy_all2" id="destroy_all2" value="<?php esc_attr_e('Permanently Delete All'); ?>" class="button-secondary apply" /> 348 365 <?php } ?> 349 366 <?php do_action('manage_comments_nav', $comment_status); ?> 350 367 </div> -
wp-admin/admin-ajax.php
192 192 die( (string) time() ); 193 193 $r = wp_set_comment_status( $comment->comment_ID, 'spam' ); 194 194 } else { 195 $r = wp_ delete_comment( $comment->comment_ID);195 $r = wp_set_comment_status( $comment->comment_ID, 'delete' ); 196 196 } 197 197 if ( $r ) // Decide if we need to send back '1' or a more complicated response including page links and comment counts 198 198 _wp_ajax_delete_comment_response( $comment->comment_ID ); … … 336 336 die( (string) time() ); 337 337 338 338 $r = 0; 339 if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) {339 if ( in_array( $current, array( 'unapproved', 'spam', 'deleted' ) ) ) { 340 340 check_ajax_referer( "approve-comment_$id" ); 341 341 $result = wp_set_comment_status( $comment->comment_ID, 'approve', true ); 342 342 } else { -
wp-admin/wp-admin.css
444 444 display: none; 445 445 } 446 446 447 .unapproved .approve, .spam .approve {447 .unapproved .approve, .spam .approve, .deleted .approve { 448 448 display: inline; 449 449 } 450 450 -
wp-admin/includes/template.php
2009 2009 } elseif ( 'spam' == $status ) { 2010 2010 $approved = "comment_approved = 'spam'"; 2011 2011 $total = $count->spam; 2012 } elseif ( 'deleted' == $status ) { 2013 $approved = "comment_approved = 'deleted'"; 2014 $total = $count->deleted; 2012 2015 } else { 2013 2016 $approved = "( comment_approved = '0' OR comment_approved = '1' )"; 2014 2017 $total = $count->moderated + $count->approved; … … 2148 2151 } 2149 2152 if ( 'spam' != $the_comment_status ) 2150 2153 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 2151 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; 2154 if ( 'deleted' == $the_comment_status || 'spam' == $the_comment_status ) 2155 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID::deleted=1 delete vim-d vim-destructive'>" . __('Delete Permanently') . '</a>'; 2156 else 2157 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; 2152 2158 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>'; 2153 2159 $actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick Edit') . '</a>'; 2154 if ( 'spam' != $the_comment_status )2160 if ( 'spam' != $the_comment_status && 'deleted' != $the_comment_status ) 2155 2161 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\');return false;" class="vim-r" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; 2156 2162 2157 2163 $actions = apply_filters( 'comment_row_actions', $actions, $comment ); -
wp-admin/js/common.dev.js
156 156 157 157 // show warnings 158 158 $('#doaction, #doaction2').click(function(){ 159 if ( $('select[name="action"]').val() == 'de lete' || $('select[name="action2"]').val() == 'delete' ) {159 if ( $('select[name="action"]').val() == 'destroy' || $('select[name="action2"]').val() == 'destroy' ) { 160 160 return showNotice.warn(); 161 161 } 162 162 }); 163 $('#destroy_all, #destroy_all2').click(function(){ 164 return showNotice.warn(); 165 }); 163 166 164 167 // screen settings tab 165 168 $('#show-settings-link').click(function () { -
wp-admin/js/edit-comments.dev.js
38 38 settings.data._page = pageInput.val(); 39 39 settings.data._url = document.location.href; 40 40 41 if ( 'undefined' != showNotice && settings.data.action && settings.data.action == 'delete-comment' && !settings.data.spam)41 if ( 'undefined' != showNotice && settings.data.action && settings.data.action == 'delete-comment' && settings.data.deleted) 42 42 return showNotice.warn() ? settings : false; 43 43 44 44 return settings; … … 91 91 if ( isNaN(n) ) return; 92 92 if ( $(settings.target).parents( 'span.spam' ).size() ) { // we marked a comment as spam 93 93 n = n + 1; 94 } else if ( $('#' + settings.element).is('.spam') ) { // we approved or deleted a comment marked as spam94 } else if ( $('#' + settings.element).is('.spam') ) { // we approved, deleted, or destroyed a comment marked as spam 95 95 n = n - 1; 96 96 } 97 97 if ( n < 0 ) { n = 0; } … … 101 101 a.html(n); 102 102 }); 103 103 104 $('span.deleted-count').each( function() { 105 var a = $(this), n; 106 n = a.html().replace(/[ ,.]+/g, ''); 107 n = parseInt(n,10); 108 if ( isNaN(n) ) return; 109 if ( $(settings.target).parents( 'span.delete' ).size() && $('#' + settings.element).is('.deleted,.spam') ) { // we destroyed a deleted or spam comment 110 n--; 111 } else if ( $(settings.target).parents( 'span.delete' ).size() ) { // we deleted a comment 112 n++; 113 } else if ( $('#' + settings.element).is('.deleted') ) { // we approved or spammed a deleted comment 114 n--; 115 } 116 if ( n < 0 ) { n = 0; } 117 n = n.toString(); 118 if ( n.length > 3 ) 119 n = n.substr(0, n.length-3)+' '+n.substr(-3); 120 a.html(n); 121 }); 104 122 123 105 124 // XML response 106 125 if ( ( 'object' == typeof r ) && lastConfidentTime < settings.parsed.responses[0].supplemental.time ) { 107 126 // Set the total to the known good value (even if this value is a little old, newer values should only be a few less, and so shouldn't mess up the page links) -
wp-admin/edit-form-comment.php
38 38 <div class="submitbox" id="submitcomment"> 39 39 <div id="minor-publishing"> 40 40 41 <?php if ($comment->comment_approved == '1') { ?> 41 42 <div id="minor-publishing-actions"> 42 43 <div id="preview-action"> 43 44 <a class="preview button" href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View Comment'); ?></a> 44 45 </div> 45 46 <div class="clear"></div> 46 47 </div> 48 <?php } ?> 47 49 48 50 <div id="misc-publishing-actions"> 49 51 50 52 <div class="misc-pub-section" id="comment-status-radio"> 51 53 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php /* translators: comment type radio button */ echo _x('Approved', 'adjective') ?></label><br /> 52 54 <label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php /* translators: comment type radio button */ echo _x('Pending', 'adjective') ?></label><br /> 53 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ echo _x('Spam', 'adjective'); ?></label> 55 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ echo _x('Spam', 'adjective'); ?></label><br /> 56 <?php if ($comment->comment_approved == 'deleted') { ?> 57 <label class="deleted"><input type="radio"<?php checked( $comment->comment_approved, 'deleted' ); ?> name="comment_status" value="deleted" /><?php /* translators: comment type radio button */ echo _x('Deleted', 'adjective'); ?></label> 58 <?php } ?> 54 59 </div> 55 60 56 61 <div class="misc-pub-section curtime misc-pub-section-last"> … … 69 74 70 75 <div id="major-publishing-actions"> 71 76 <div id="delete-action"> 72 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . esc_js(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ){return true;}return false;\">" . __('Delete') . "</a>\n"; ?> 77 <?php 78 if ($comment->comment_approved == 'deleted') 79 echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . esc_js(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ){return true;}return false;\">" . __('Delete Permanently') . "</a>\n"; 80 else 81 echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . __('Delete') . "</a>\n"; 82 ?> 73 83 </div> 74 84 <div id="publishing-action"> 75 85 <input type="submit" name="save" value="<?php esc_attr_e('Update Comment'); ?>" tabindex="4" class="button-primary" /> -
wp-admin/css/colors-fresh.css
58 58 border-color: #ccc; 59 59 } 60 60 61 #poststuff .inside label.spam { 61 #poststuff .inside label.spam, 62 #poststuff .inside label.deleted { 62 63 color: red; 63 64 } 64 65 -
wp-admin/css/colors-classic.css
58 58 border-color: #ccc; 59 59 } 60 60 61 #poststuff .inside label.spam { 61 #poststuff .inside label.spam, 62 #poststuff .inside label.deleted { 62 63 color: red; 63 64 } 64 65