[wp-trac] [WordPress Trac] #39566: Wordpress ignoring previously approved comment for some comment authors
WordPress Trac
noreply at wordpress.org
Mon Apr 17 07:50:56 UTC 2017
#39566: Wordpress ignoring previously approved comment for some comment authors
--------------------------+------------------------------
Reporter: rperrett | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by rperrett):
This is still an issue with one of our users, so I gave it some more
testing. The problem is that the user has always had an account but never
used it, she always commented as a guest. So all her approved comments
have user_id=0. Now we told her to login so she finally does (3 months
later) and tries to post, however it goes to moderation as now she is
commenting with a valid user_id but there are no comments approved against
that user_id. (comments.php line 117)
I had a think but am not sure what changes to make to the code that don't
have an adverse effect.
Rob
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39566#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list