Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -204,7 +204,7 @@ setCommentsList = function() {
|
||||
}
|
||||
}
|
||||
|
||||
if ( theExtraList.size() == 0 || theExtraList.children().size() == 0 || untrash ) {
|
||||
if ( theExtraList.size() == 0 || theExtraList.children().size() == 0 || untrash || unspam ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user