[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 16 01:39:55 UTC 2012
#21309: Introduce WP_Post class
----------------------------+------------------
Reporter: scribu | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by scribu):
Replying to [comment:33 ryan]:
> [UT969] demonstrates the need to do the filter checks when WP_Post is
passed to get_post().
On it.
> What's the extra update_post_caches() call in query.php for? It doesn't
check $q[ 'cache_results' ].
At some point, get_post() forced another query, even when you passed a raw
post column; that's not the case anymore, so I'll remove it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list