Allow get_comments() to query for explicit value of comment_approved
|Reported by:||nbachiyski||Owned by:||westi|
If you have a comment with value of comment_approved different from the default ones (if you don't want it showing in the admin/frontend), currently you can't query for it directly.
The patch adds another query var, comment_approved which overrides the value of the status query var and searches for an explicit value of the column, instead of doing special cases and using 0/1 as default.
Change History (36)
- Keywords commit removed
- Resolution fixed deleted
- Status changed from closed to reopened
comment:20 in reply to: ↑ 17 c3mdigital — 15 months ago
comment:25 Otto42 — 15 months ago
- Resolution set to fixed
- Severity changed from blocker to normal
- Status changed from reopened to closed