Opened 13 years ago
Closed 12 years ago
#26659 closed defect (bug) (fixed)
Notices in wp_notify_postauthor() when post_author = 0
| Reported by: | bpetty | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Version: | 3.9 | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
13 years ago
#3
@
12 years ago
- Component Unit Tests → Mail
- Keywords needs-patch added; has-patch removed
- Summary Turn off comment notifications during AJAX unit tests → Notices in wp_notify_postauthor() when post_author = 0
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think this is actually a bug in wp_notify_postauthor(). It should support post_author = 0.