[wp-trac] [WordPress Trac] #42030: Introduce pre_trash_post filter
WordPress Trac
noreply at wordpress.org
Fri Sep 29 13:35:44 UTC 2017
#42030: Introduce pre_trash_post filter
-------------------------------+-----------------------------
Reporter: bor0 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"41642"]:
{{{
#!CommitTicketReference repository="" revision="41642"
Posts, Post Types: In `wp_delete_post()`, `wp_trash_post()`,
`wp_untrash_post()`, and `wp_delete_attachment()`, standardize on
`WP_Post` as a return value and internal representation of the post data.
Props bor0, SergeyBiryukov.
Fixes #42030.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42030#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list