[wp-trac] [WordPress Trac] #33717: Send Notification Email When a Comment is Approved From Moderation

WordPress Trac noreply at wordpress.org
Thu Dec 12 16:27:53 UTC 2019


#33717: Send Notification Email When a Comment is Approved From Moderation
--------------------------------------+-----------------------------
 Reporter:  jeffr0                    |       Owner:  swissspidy
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  Future Release
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by imath):

 Now there is the GDPR, I suggest to have a different approach about this
 feature : request the user to opt-in to be notified when his comment has
 been approved.

 Here is the suggested process  :

 1) Once the comment has been submitted, the user is redirected to his
 comment where he can read the "awaiting moderation" info + a form to
 inform he wishes to be notified when the comment has been approved.

 Screenshot: https://cldup.com/vAda-rbD00.png

 2) Once the user activate the checkbox and validate the form, WordPress
 saves a comment meta to store this wish and the user is redirected to his
 comment again with a message to inform him he will receive the
 notification when the comment has been approved.

 Screenshot: https://cldup.com/tBuPu0Cd9E.png

 3) The site administator is informed a user has opted in to be notified
 (to avoid using the cron).

 Dashbord Screenshot: https://cldup.com/xpCVsMuGsN.png
 Comments Administration Screen Screenshot:
 https://cldup.com/xDq5TQsHqX.png

 4) When the site administrator approves the comment, the notification is
 sent and the comment meta is deleted.

 The process is included into the
 [https://core.trac.wordpress.org/attachment/ticket/33717/33717.11.diff
 33717.11.diff] patch

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33717#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list