[wp-trac] [WordPress Trac] #37826: Can't manage comments of trashed posts
WordPress Trac
noreply at wordpress.org
Fri Aug 26 11:55:33 UTC 2016
#37826: Can't manage comments of trashed posts
-----------------------------+------------------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-screenshots | Focuses:
-----------------------------+------------------------------
Comment (by FolioVision):
> Funnily, when I trash a post and go to the edit screen of a single
comment for that post, i.e. `/wp-
admin/comment.php?action=editcomment&c=6`, I can still "edit" that
comment. To be more precise, I can see the edit form and change any
information, but when clicking on "Update", I get redirected to the empty
comment list table and the comment wasn't updated at all.
Good detective work. Is the consensus we should actively delete these
comments? I suppose they could be considered detritus in the database.
Nothing serious if there's only a few dozen but if someone is cleaning up
a site with posts with hundreds of unwanted comments, the cleanup could
matter.
For simplicity's sake, we should probably break the comment cleanup out
into another ticket if we agree that we want it too. Our priority here is
users access to content in the WordPress trash.
My take is that content in the trash shouldn't be accessible and we just
need more elegant notifications (preferably with no screen reload, even
for users without javascript enabled).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37826#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list