[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
Mon Jul 31 12:29:52 UTC 2017
#41492: Trash page should not show to Admin if there is a no Post in Trash.
--------------------------------+-----------------------------
Reporter: Jaydeep Rami | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.8
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
Under admin do the following
1) Go to Post Listing on Admin ( I have only 1 default Post 'Hello
World!')
[[Image(http://i.imgur.com/QW86KeJ.png)]]
2) Just Trash the Post.
[[Image(http://i.imgur.com/ke1ZTDV.png)]]
3) Go to Trash and just restore deleted Post. In Trash menu, it's selected
which is good.
[[Image(http://i.imgur.com/12JiwVt.png)]]
4) After Step 3, Just click on the 'Restore' button to restore post. It
restores successfully but it's not redirected to the 'ALL' post.
[[Image(http://i.imgur.com/8Ek55la.png)]]
It still displays 'Trash' page However there is a no trashed post in it.
So it does not make sense to display 'Trash' page if in Admin side not
display 'Trash(0)' from the Menu.
Expected behavior:
1) When we restore then it's should redirect to the Post listing page and
selected with 'ALL'.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41492>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list