From c90d5bb69360187b97d7e56470989405ff242d0a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 1 Feb 2012 14:39:52 +0000 Subject: [PATCH] Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788. git-svn-id: https://develop.svn.wordpress.org/trunk@19804 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/js/edit-comments.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/js/edit-comments.dev.js b/wp-admin/js/edit-comments.dev.js index 48cca9f5e9..24e0af3111 100644 --- a/wp-admin/js/edit-comments.dev.js +++ b/wp-admin/js/edit-comments.dev.js @@ -84,7 +84,7 @@ setCommentsList = function() { el.before(h); - $('strong', '#undo-' + id).text(author + ' '); + $('strong', '#undo-' + id).text(author); a = $('.undo a', '#undo-' + id); a.attr('href', 'comment.php?action=un' + action + 'comment&c=' + id + '&_wpnonce=' + settings.data._ajax_nonce); a.attr('class', 'delete:the-comment-list:comment-' + id + '::un' + action + '=1 vim-z vim-destructive');