Files
WordPress/wp-includes
Mark Jaquith c2cdbf9648 Fix comment_notification_recipients filter behavior so that it is still respected even on comments left by the post author
The code was bailing on this-is-a-comment-on-your-own-post detection, ignoring additional recipients. Now:

* Logic check is done within `wp_notify_postauthor()`
* Logic check is overridable via `comment_notification_notify_author` filter (default still false)
* The code doesn't bail on comment-on-own-post detection, but just removes the author from the array
* The code instead now bails if the recipients list is empty, so `comment_notification_recipients` works properly

props ethitter.
fixes #25699

Built from https://develop.svn.wordpress.org/trunk@26367


git-svn-id: http://core.svn.wordpress.org/trunk@26268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 01:47:10 +00:00
..
2013-07-13 00:37:36 +00:00
2013-11-15 22:23:09 +00:00
2013-10-30 14:39:10 +00:00
2013-10-24 22:59:20 +00:00
2013-09-24 19:05:10 +00:00
2013-07-24 06:08:14 +00:00
2013-09-06 17:19:09 +00:00
2013-10-30 14:39:10 +00:00
2013-10-30 14:39:10 +00:00