[wp-trac] [WordPress Trac] #43672: wp_delete_post() function ignores `$force_delete` parameter for custom post types
WordPress Trac
noreply at wordpress.org
Sun Apr 8 18:52:53 UTC 2018
#43672: wp_delete_post() function ignores `$force_delete` parameter for custom post
types
-------------------------------+------------------------------
Reporter: sudar | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: administration
-------------------------------+------------------------------
Changes (by soulseekah):
* keywords: => dev-feedback
Comment:
Seems legit. I would approach it using a filter, or maybe an additional
`register_post` type argument perhaps: 'trashable'.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43672#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list