Jump to content

Help! Can you see the problem?


dawyatt

Recommended Posts

Hello everyone.. It has been a long time since I visited this site, but now i need help! 

 

Can anyone please tell me what is wrong with this line of code?

echo "| <a href="' . wp_nonce_url('comment.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>';

 

I am getting a parse error when trying to access this file via Wordpress...

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/55582-help-can-you-see-the-problem/
Share on other sites

thanks for the quick relply...

 

I changed what you suggested, but I continue to get the following error:

 

Parse error: parse error, unexpected T_STRING, expecting ',' or ';'

in /hsphere/local/home/coirick/blog.coiusa.com/wp-admin/edit-comments.php on line 160

 

suggestions????

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.