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

WordPress Trac noreply at wordpress.org
Thu Dec 12 21:36:52 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 needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by garrett-eclipse):

 4. Similar to the comment consent checkbox it would be nice to support a
 hook and an option. Below is the code from the comment cookie consent;
 `if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) &&
 get_option( 'show_comments_cookies_opt_in' ) ) {`
 A similar setup to this will allow admins to have better control of the
 funcitonality.
 From the hook the checkbox is disabled like this - `remove_action(
 'set_comment_cookies', 'wp_set_comment_cookies' );`
 As to the option it would be provided as a checkbox on the Discussion
 Settings similar to the cookies opt-in;
 ` Show comments cookies opt-in checkbox, allowing comment author cookies
 to be set `

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


More information about the wp-trac mailing list