Opened 20 years ago
Closed 20 years ago
#1291 closed defect (bug) (fixed)
Logged in user cannot comment on posts by other authors
Reported by: | kim | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.5.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
If a user is logged in, submitting a comment to a post by another author results in a crash.
Fix attached.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Oops.
In addition, I think the admin/author auto-approve check should be done prior to check_comment() and wp_blacklist_check(). We already know if the commenter will be unmoderated, and if so, we can circumvent those two other checks which would ultimately be disregarded for the commenter anyway.
Patch attached, bug1291_functions-post.diff, which incorporates kim's fix and my suggestion.