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 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml.dist | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |