### Eclipse Workspace Patch 1.0
#P wordpress-trunk
|
|
|
|
| 69 | 69 | |
| 70 | 70 | <div id="major-publishing-actions"> |
| 71 | 71 | <div id="delete-action"> |
| 72 | | <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . wp_get_referer(), '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') . "</a>\n"; ?> |
| | 72 | <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), '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') . "</a>\n"; ?> |
| 73 | 73 | </div> |
| 74 | 74 | <div id="publishing-action"> |
| 75 | 75 | <input type="submit" name="save" value="<?php _ea('Update Comment'); ?>" tabindex="4" class="button-primary" /> |
| … |
… |
|
| 130 | 130 | |
| 131 | 131 | <input type="hidden" name="c" value="<?php echo attr($comment->comment_ID) ?>" /> |
| 132 | 132 | <input type="hidden" name="p" value="<?php echo attr($comment->comment_post_ID) ?>" /> |
| 133 | | <input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" /> |
| | 133 | <input name="referredby" type="hidden" id="referredby" value="<?php echo attr(clean_url(stripslashes(wp_get_referer()))); ?>" /> |
| 134 | 134 | <?php wp_original_referer_field(true, 'previous'); ?> |
| 135 | 135 | <input type="hidden" name="noredir" value="1" /> |
| 136 | 136 | |