d26b868870
[34106] moved post author notification to a hook, and in the process, missed the 'spam' check. This changeset restores that check. To make unit testing easier, the notification callbacks have been refactored to return values: false when various conditions aren't met (eg, approved comments should not trigger moderation emails), and the return value of the `wp_notify_*()` function otherwise. Props cfinke, kraftbj. See #33587. git-svn-id: https://develop.svn.wordpress.org/trunk@34250 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |