[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 19 00:17:44 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 |
----------------------------+------------------
Changes (by scribu):
* keywords: => has-patch
Comment:
[attachment:21309.diff] is basically a refresh of
[attachment:ticket:16574:16574.8.diff]:
* merge _get_post_ancestors() into get_post_ancestors()
* use get_posts() in get_post_ancestors()
* introduce WP_Post class with magic method that calls
get_post_ancestors()
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list