Jump to content

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????

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.