Opened 14 years ago
Closed 14 years ago
#22000 closed defect (bug) (fixed)
"Reply and Approve" should approve parent comment first
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | easy-fix has-patch commit |
| Cc: | Focuses: |
Description (last modified by )
"Reply and Approve" should approve parent comment first. If you receive a stream of updates (emails, jabber, etc.), you'd end up with the comments out of order.
Fairly simple fix — take the block in wp_ajax_replyto_comment() that starts with "automatically approve parent comment" and move it above the wp_new_comment() call.
If for some reason wp_new_comment() fails (as we account for currently, minimally), we should probably just let the parent comment stand as approved, no need to try to revert.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 22370: