#4471 closed defect (bug) (fixed)
wp-admin/includes/template.php references ocomment.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2.1 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
on list:
Delete a comment without javascript
Hi all, I'd like to know if this one is a bug or something wrong with my blog. I was trying some tools of my template and disabled javascript on Firefox. Then I tried to delete a comment and it uses an URL which starts with
http://www.duechiacchiere.it/wp-admin/ocomment.php?action=deletecomment [...]
The file ocomment.php is not found, and a 404 error is thrown.
source:/trunk/wp-admin/includes/template.php#L282
echo ' | <a href="' . wp_nonce_url('ocomment.php?action=deletecomment&p=' . $comment->comment_post_ID . '&c=' . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . '" onclick="return deleteSomething( \'comment\', ' . $comment->comment_ID . ', \'' . js_escape(sprintf(__("You are about to delete this comment by '%s'.\n'Cancel' to stop, 'OK' to delete."), $comment->comment_author)) . "', theCommentList );\">" . __('Delete') . '</a> ';
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
remove the o