Title: Small bug
Last modified: August 21, 2016

---

# Small bug

 *  ResolvedModerator [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * (@mordauk)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/)
 * Excellent little plugin 🙂
 * There’s a small bug, however, that makes it impossible to submit a comment as
   a site admin from the wp-admin.
 * Since the javascript only gets added to the frontend, it fails when posting from
   the admin.
 * You can fix it by changing
 * `if( ! isset ( $_POST['zero-spam'] ) ) {`
 * to
 * `if( ! isset ( $_POST['zero-spam'] ) && ! current_user_can( 'moderate_comments')){`
 * [https://wordpress.org/plugins/zero-spam/](https://wordpress.org/plugins/zero-spam/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122106)
 * Pippin, it might be better/easier to submit a PR over at [https://github.com/bmarshall511/wordpress-zero-spam](https://github.com/bmarshall511/wordpress-zero-spam)
 *  [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122149)
 * I submitted a PR
 *  Moderator [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * (@mordauk)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122155)
 * Thanks!
 *  Plugin Author [Ben Marshall](https://wordpress.org/support/users/bmarshall511/)
 * (@bmarshall511)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122179)
 * This has been fixed.
 *  Moderator [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * (@mordauk)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122180)
 * Thanks!
 *  Moderator [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * (@mordauk)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122183)
 * I installed the update but it looks like the problem is still there.
 *  [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122184)
 * We had changed the `&&` to `||` as it seems that it shouldn’t have required both
   as this might mess it up one the front end. I’ll test again. Sorry.
 *  [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122185)
 * Missed the `&& !`. Will submit new PR.
 *  Plugin Author [Ben Marshall](https://wordpress.org/support/users/bmarshall511/)
 * (@bmarshall511)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122188)
 * Whoops! Should be fixed now. Thanks Andy!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Small bug’ is closed to new replies.

 * ![](https://ps.w.org/zero-spam/assets/icon.svg?rev=2343080)
 * [Zero Spam for WordPress](https://wordpress.org/plugins/zero-spam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zero-spam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zero-spam/)
 * [Active Topics](https://wordpress.org/support/plugin/zero-spam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zero-spam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zero-spam/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Ben Marshall](https://wordpress.org/support/users/bmarshall511/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/small-bug-11/#post-5122188)
 * Status: resolved