Changeset 7756 for branches/2.5/wp-admin/edit-form-comment.php
- Timestamp:
- 04/21/2008 04:46:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-admin/edit-form-comment.php
r7530 r7756 47 47 <input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 48 48 <?php 49 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>";49 echo "<a class='submitdelete' 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 comment') . "</a>"; 50 50 ?> 51 51 </p> … … 96 96 <input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" /> 97 97 <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" /> 98 <?php wp_original_referer_field(true, 'previous'); ?> 98 99 <input type="hidden" name="noredir" value="1" /> 99 100 </div>
Note: See TracChangeset
for help on using the changeset viewer.