Use red background delete style for Delete Comment link on Edit Comment screen. fixes #6396
git-svn-id: https://develop.svn.wordpress.org/trunk@7530 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e779414fd
commit
6dfc0cbf89
@ -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
Block a user