[wp-trac] [WordPress Trac] #26877: Allow get_post() to accept a custom post object instead of only WP_Post
WordPress Trac
noreply at wordpress.org
Mon Feb 17 20:33:27 UTC 2014
#26877: Allow get_post() to accept a custom post object instead of only WP_Post
------------------------------------+-----------------------------
Reporter: MikeSchinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by wonderboymusic):
This isn't very convincing, and wasn't on the other ticket you pasted the
same code example. You want to subclass a model so that you can use a
theme function on one of the global `$post`'s properties? Is this really
worth 2 separate tickets?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26877#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list