[wp-trac] [WordPress Trac] #23022: Always set posts to draft status when untrashing
WordPress Trac
noreply at wordpress.org
Sun Sep 20 20:31:12 UTC 2020
#23022: Always set posts to draft status when untrashing
--------------------------------------+-----------------------------
Reporter: harrym | Owner: johnbillion
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.6
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Comment (by johnbillion):
One item left to test: Behaviour when `MEDIA_TRASH` is defined and set to
`true`. Might need a condition for the default value passed to the
`wp_untrash_post_status` filter to account for this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23022#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list