[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 4 16:29:32 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 ryan):
In [21735]:
{{{
#!CommitTicketReference repository="" revision="21735"
Use get_post() instead of global $post.
Make the $post argument to get_post() optional, defaulting to the current
post in The Loop.
Props nacin
see #21309
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:63>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list