[wp-trac] [WordPress Trac] #30292: Stop get_post() overwriting non-WP_Post objects passed as first parameter
WordPress Trac
noreply at wordpress.org
Thu Oct 15 21:05:22 UTC 2015
#30292: Stop get_post() overwriting non-WP_Post objects passed as first parameter
------------------------------------------------+--------------------------
Reporter: MikeSchinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Posts, Post Types | Review
Severity: normal | Version: 3.5
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Comment (by MikeSchinkel):
@sc0ttkclark In an ideal world we'd get both filters: `'do_get_post'` and
`'get_post'`.
But if we have to have just one then I guess #12955 would be preferable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30292#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list