Title: WP Admin Error when moderating comments from Email
Last modified: August 19, 2016

---

# WP Admin Error when moderating comments from Email

 *  [gotspotdotcom](https://wordpress.org/support/users/gotspotdotcom/)
 * (@gotspotdotcom)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-error-when-moderating-comments-from-email/)
 * I was noticing a JavaScript error when trying to moderate comments from the available
   links send via email. The module in question was “comment.php” and the error 
   was a missing single quote in the value of an input button, onclick property;
 * <input type=’button’ class=”button” value='<?php esc_attr_e(‘No’); ?>’ onclick
   =”self.location='<?php echo admin_url(‘edit-comments.php’); ?>'” /> <== the last
   single quote here (before the double quote to end the string) was missing.
 * I’m not a super programmer and this was such an easy fix I feel like I’m doing
   something wrong! :O) But, putting the single quote in to complete the self.location
   string fixed the error for me. Hope this helps someone else or perhaps Admin 
   might update in a future fix/release?
 * Good Luck.

The topic ‘WP Admin Error when moderating comments from Email’ is closed to new 
replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [gotspotdotcom](https://wordpress.org/support/users/gotspotdotcom/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-error-when-moderating-comments-from-email/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
