[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 20:01:14 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 [21597]:
 {{{
 #!CommitTicketReference repository="" revision="21597"
 Remove return ref from all calls to get_post()
 Return WP_Post from get_default_post_to_edit()
 Replace all calls to get_page() with get_post()
 see #21309
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list