subscribe to comment not working on version 7

10 views
Skip to first unread message

René Ronse

unread,
Jan 25, 2019, 10:38:48 AM1/25/19
to MailPress
Hi all,

I just upgrade from version 6 to version 7 by Following the recommended procedure but  subscribe to comment is not working anymore after the upgrade, nothing is shown under the comment form!

Any idea of what could be the problem?

Thank you.


andré renaut

unread,
Jan 25, 2019, 4:49:47 PM1/25/19
to mail...@googlegroups.com
Hello

I you are logged in under admin, the added fields in the comment form are not added !

--
--
=== Please Donate ! https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andre%2erenaut%40gmail%2ecom&lc=US&item_name=MailPress&item_number=gg&amount=5%2e00&currency_code=EUR&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest ===
 
You received this message because you are subscribed to the Google
Groups "MailPress" group.
To post to this group, send email to mail...@googlegroups.com
To unsubscribe from this group, send email to
mailpress+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/mailpress?hl=en

---
You received this message because you are subscribed to the Google Groups "MailPress" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailpress+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Toute tentative ratée de mise en évidence de la loi de Murphy
est une mise en évidence de la loi de Murphy.

René Ronse

unread,
Jan 26, 2019, 3:49:20 AM1/26/19
to MailPress
Hi Arena,

Ok but I also tried without being logged in as admin and with other browser too but no added fields in the comment form are Added.

To solve this for now I have just uploaded the old add-on (comment.php from version 6) and it is now working as before.

andré renaut

unread,
Jan 26, 2019, 6:19:04 AM1/26/19
to mail...@googlegroups.com
Thank you for the debugging

I changed something in that add on. The main change is here (changing from action to filter)
Apparently not all theme supports this new filter : 'comment_form_default_fields'
I am going to change that and go back to the old way (may be just restore the v6.0 to 7.0 as you suggested)

Have a nice day

< Version: 6.0
---
> Version: 7.0
20c20
<                 add_action( 'comment_form',                                     array( __CLASS__, 'comment_form' ) );
---
>                 add_filter( 'comment_form_default_fields',              array( __CLASS__, 'comment_form_default_fields' ), 8, 1 );

René Ronse

unread,
Jan 30, 2019, 11:46:40 AM1/30/19
to MailPress
The problem is solved with version 7.0.1

Thank you.
Reply all
Reply to author
Forward
0 new messages