[wp-trac] [WordPress Trac] #33717: Send Notification Email When a Comment is Approved From Moderation
    WordPress Trac 
    noreply at wordpress.org
       
    Sun Dec 13 18:35:23 UTC 2020
    
    
  
#33717: Send Notification Email When a Comment is Approved From Moderation
--------------------------------------+-----------------------
 Reporter:  jeffr0                    |       Owner:  imath
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.7
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-dev-note has-patch  |     Focuses:
--------------------------------------+-----------------------
Changes (by imath):
 * keywords:  needs-testing needs-unit-tests needs-dev-note needs-refresh =>
     needs-dev-note has-patch
Comment:
 Hi,
 337171.14.patch​ is refreshed to latest trunk (December 13, 2020). It adds
 a unit test to check the email is sent and only once: see the PHPUnit test
 `test_wp_new_comment_notify_comment_author_once_only()` (cc @johnbillion).
 Here are some updated screenshots:
 1. The form to subscribe to the notification (once a comment has been
 posted and held for moderation)
 [[Image(https://cldup.com/bk_H7Ap3La.png)]]
 2. The subscription confirmation
 [[Image(https://cldup.com/Wkhps21OCz.png)]]
 3. The warning about the fact a comment author requested to be notified
 a. Into the dashboard Widget
 [[Image(https://cldup.com/7IfL0eBSFQ.png)]]
 b. Into the comments list table
 [[Image(https://cldup.com/zVYHGvnxzd.png)]]
 4. The email received by the comment author
 [[Image(https://cldup.com/f0ky8A2pEy.png)]]
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33717#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list