Use red background delete style for Delete Comment link on Edit Comment screen. fixes #6396
git-svn-id: http://svn.automattic.com/wordpress/trunk@7530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e6f396880b
commit
f0a9ece115
|
@ -46,7 +46,7 @@ $time = mysql2date(get_option('time_format'), $comment->comment_date);
|
|||
<p class="submit">
|
||||
<input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" />
|
||||
<?php
|
||||
echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID", 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>";
|
||||
echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID", 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>";
|
||||
?>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue