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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 27 11:40:07 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:18 mikeschinkel]:
 > This worries me greatly, but I assume there is a discussion thread that
 details the decision somewhere?

 There isn't, so here goes:

 With the current stdClass objects, you are forced to use composition
 already, so there's nothing lost and nothing gained.

 Maybe we come up with a more flexible extension mechanism than composition
 or inheritance, but that's outside the scope for 3.5.

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


More information about the wp-trac mailing list