[wp-trac] [WordPress Trac] #41492: Trash page should not show to Admin if there is a no Post in Trash.
WordPress Trac
noreply at wordpress.org
Tue Oct 2 16:41:37 UTC 2018
#41492: Trash page should not show to Admin if there is a no Post in Trash.
-------------------------------+---------------------------------
Reporter: Jaydeep Rami | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, administration
-------------------------------+---------------------------------
Comment (by shaneeckert):
The behavior could be changed so that when you restore a post from the
trash that you are redirected back to all the posts. But this may not be
what you want if there are still items in the trash. There would need to
be a check to see if there are any posts in the trash before redirecting
you to the all posts page, if there are, then stay on the trash page.
Or do you think that it's a better flow to restore an item from the trash
and then be taken to the all posts page?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41492#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list