Small bug
-
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' ) ) {
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Small bug’ is closed to new replies.