[wp-trac] [WordPress Trac] #15930: Make trashed posts/pages still readable

WordPress Trac noreply at wordpress.org
Thu Feb 19 15:33:24 UTC 2015


#15930: Make trashed posts/pages still readable
-----------------------------------+-----------------------------
 Reporter:  JonezJeA               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Posts, Post Types      |     Version:  2.9
 Severity:  minor                  |  Resolution:
 Keywords:  needs-patch make-flow  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by ryan):

 Attached is a quick exploration of making trashed posts editable and
 viewable. This required changing the 'trash' post status object from
 internal to protected.

 * Edit, Quick Edit, and view now show in the posts list table.
 * In the editor, Move to Trash is hidden for trashed posts.
 * In the editor, trashed posts now show Trash for status.
 * In the editor, trashed posts can be changed to Pending Review or Draft
 status.
 * In the editor, the Publish button never shows for trashed posts. Update
 always shows instead. Basically, trashed posts can move to pending or
 draft but not straight to published.
 * A partial attempt was made to add preview=true to view links for trashed
 posts.
 * WP_Posts_List_Table::inline_edit() needs Trash awareness added to the
 status selector.
 * Pages totally untouched.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15930#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list