[wp-trac] [WordPress Trac] #16116: Hide 'Move to Trash' for auto drafts
WordPress Trac
noreply at wordpress.org
Sat Jan 11 16:51:54 UTC 2014
#16116: Hide 'Move to Trash' for auto drafts
-----------------------------------------------+---------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Editor | Release
Severity: normal | Version: 3.0
Keywords: needs-patch dev-feedback ui-focus | Resolution:
-----------------------------------------------+---------------------------
Comment (by jdgrimes):
Replying to [comment:3 nacin]:
> This patch is lame. Ideally what should happen is that the trash link
should show after an autosave, as at that point it is no longer an auto-
draft and can be deleted.
>
> If anything, the issue right now is that if you trash an auto-draft with
no data attached to it, you get an "Undo" link which untrashes it, but it
just becomes an auto-draft again.
>
> Perhaps trashing an auto-draft results in a force-delete instead, and
?deleted=1 on edit.php. That makes more sense.
I agree, especially with that last part. I was expecting that trashing an
auto-draft would be like canceling post creation (so post is deleted), but
that isn't what happens. In fact, if you move an auto-draft to the trash,
you are not only shown the undo link, but the auto-draft appears in the
list of trashed posts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16116#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list