Opened 11 years ago
Closed 10 years ago
#26659 closed defect (bug) (fixed)
Notices in wp_notify_postauthor() when post_author = 0
Reported by: | bpetty | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Keywords: | has-patch | |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (8)
This ticket was mentioned in IRC in #wordpress-dev by tierra. View the logs.
11 years ago
#3
@
11 years ago
- 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
Note: See
TracTickets for help on using
tickets.
I think this is actually a bug in wp_notify_postauthor(). It should support post_author = 0.