[wp-trac] [WordPress Trac] #33735: Reduce Duplication and Improve Comment Notification Email Functions
WordPress Trac
noreply at wordpress.org
Fri Sep 4 22:55:05 UTC 2015
#33735: Reduce Duplication and Improve Comment Notification Email Functions
-------------------------+-----------------------------
Reporter: dshanske | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Had touched on this in #33587.
wp_notify_postauthor and wp_notify_moderator have some duplicative code
that could be eliminated and simplified.
The functions for notification also lack a filter similar to the one for
displaying the comment text.
Proposing the function to show the comment in text form in the
notification be separated out into its own function with a filter, and the
default text be improved somewhat.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33735>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list