Notices in wp_notify_postauthor() when post_author = 0
|Reported by:||bpetty||Owned by:||nacin|
The comment AJAX tests currently fail because they fail to find a valid user account tied to the factory-generated comments while trying to send out notifications. This might still be something we would want to detect and handle in core, however, these tests shouldn't even be trying to send out notifications anyway, so this patch just disables them during these tests.
Change History (8)
- Component changed from Unit Tests to Mail
- Keywords needs-patch added; has-patch removed
- Summary changed from Turn off comment notifications during AJAX unit tests to Notices in wp_notify_postauthor() when post_author = 0