WordPress.org

Make WordPress Core

Ticket #17405: 17405.2.diff

File 17405.2.diff, 546 bytes (added by mikeschroder, 8 years ago)

Refreshed patch per azaozz's most recent changes/fixes.

  • wp-admin/js/edit-comments.dev.js

     
    513513                $('#replyrow').after(c);
    514514                id = $(id);
    515515                t.addEvents(id);
    516                 bg = id.css('background-color');
     516                bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor');             
    517517
    518518                id.animate( { 'backgroundColor':'#CCEEBB' }, 300 )
    519519                        .animate( { 'backgroundColor': bg }, 300, function() {