[wp-hackers] Delete a comment without javascript
Matt
speedboxer at gmail.com
Fri Jun 15 06:17:19 GMT 2007
Didn't we get rid of the JS Prompt for deleting a comment?
On 6/14/07, Alan J Castonguay <alan at verselogic.net> wrote:
>
> 282: 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> ';
>
> This appears to have been around for a while now..
>
> http://trac.wordpress.org/ticket/4471
>
> On 15-Jun-07, at 12:32 AM, Dino Termini wrote:
>
> > 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.
> >
> > --
> > due chiacchiere <http://feeds.feedburner.com/duechiacchiere>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Matt (speedboxer at gmail.com)
http://mattsblog.ca/ | http://livemp.net/
More information about the wp-hackers
mailing list