[wp-trac] [WordPress Trac] #23022: Always set posts to draft status when untrashing

WordPress Trac noreply at wordpress.org
Sat Aug 19 15:47:43 UTC 2017


#23022: Always set posts to draft status when untrashing
-------------------------------------------------+-------------------------
 Reporter:  harrym                               |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Posts, Post Types                    |  Release
 Severity:  normal                               |     Version:  2.9
 Keywords:  editorial-flow needs-patch good-     |  Resolution:
  first-bug                                      |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  has-patch editorial-flow dev-feedback ux-feedback =>
     editorial-flow needs-patch good-first-bug


Comment:

 I think the preferred behaviour here would be to always restore trashed
 posts to draft status, along with a new filter so that the restored post
 status can be filtered.

 The functionality of the `_wp_trash_meta_status` meta field should remain.

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


More information about the wp-trac mailing list