lulalala
Member
Posted 1 year ago #
Hi,
When in the subscription page, when I try to remove subscription without ticking any posts, an error will be displayed at the top. I fixed this by having the following check inside the remove_subscriptions() method:
if(empty($postids))
return $removed;
Cheers
http://wordpress.org/extend/plugins/subscribe-to-double-opt-in-comments/
lulalala
Member
Posted 1 year ago #
And also since I have comment form at each post in index, I had to remove the use of $sg_subscribe->checkbox_shown = true.
I also has to change the html to this to avoid duplicate IDs.
<input type="checkbox" name="subscribe" id="subscribe<?php echo get_the_ID() ?>"...
Hope this might be of help to you.
Tobiask
Member
Plugin Author
Posted 1 year ago #