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

WordPress Trac noreply at wordpress.org
Wed Jan 13 20:22:43 UTC 2021


#33717: Send Notification Email When a Comment is Approved From Moderation
--------------------------------------+--------------------------
 Reporter:  jeffr0                    |       Owner:  johnbillion
     Type:  feature request           |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.7
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-dev-note has-patch  |     Focuses:
--------------------------------------+--------------------------
Changes (by imath):

 * keywords:  needs-dev-note needs-refresh => needs-dev-note has-patch


Comment:

 Hi @johnbillion

 I've applied your recommandations in
 [https://core.trac.wordpress.org/attachment/ticket/33717/33717.15.patch
 33717.15.patch]​ :)

 - The form is now included into themes extending the Walker_Comment class.
 - I've added the warning message to the edit comment screen, when
 necessary.
 - I've removed the post author check, but I wasn't able to see the issue
 there. If I comment on my own post having the Author role it's immediately
 approved.
 - I've changed the strict checks.
 - I've added the test for the case you described.
 - I've edited filters the way you suggested.
 - I've moved the form and the confirmation over the comment text.

 Thanks again for your review.

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


More information about the wp-trac mailing list