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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 23:16:03 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):

 [attachment:post-to-edit.diff] is a preliminary patch that:

 * introduces the WP_Post_To_Edit class
 * deprecates wp_get_single_post() and get_post_to_edit() (but doesn't stop
 using them yet)

 [attachment:post-to-edit.tests.diff] contains some preliminary unit tests.

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


More information about the wp-trac mailing list