[wp-trac] [WordPress Trac] #30292: Stop get_post() overwriting non-WP_Post objects passed as first parameter
WordPress Trac
noreply at wordpress.org
Tue Oct 13 02:16:47 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 Review
Component: Posts, Post Types | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by MikeSchinkel):
BTW, we are now running into some cases where we need to provide
integration between 3rd party APIs but make them appear as if they are
post types so it is very easy for themers to be able to interact with
them.
For one of many examples imagine a invoices table from online Quickbooks.
We could create a "virtual" post type that would synchronize with QB and
appear to all practical purposes to have the data locally in a post type.
But we need this hook to do it.
With this hook we could bring all the following integrations into
WordPress:
- http://www.cdata.com/cloud/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30292#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list