[wp-trac] [WordPress Trac] #33587: Notification Functions Should be Replaced by Hooks
WordPress Trac
noreply at wordpress.org
Wed Sep 16 22:15:37 UTC 2015
#33587: Notification Functions Should be Replaced by Hooks
-----------------------------------+------------------
Reporter: dshanske | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: Mail | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------
Comment (by SergeyBiryukov):
Is there a reason why `wp_new_comment_notify_moderator()` uses the passed
`$comment_approved` argument, while `wp_new_comment_notify_postauthor()`
uses `get_comment()` to get the same value? Shouldn't they both use the
same method for consistency?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33587#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list