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

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 27 13:15:58 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):

 Replying to [comment:46 scribu]:
 > > Providing these things via {{{__get()}}} is so cheap it is practically
 free.
 >
 > Even when people start to use {{{$post->some_custom_field}}} everywhere?
 The additional checks would have to be done before calling
 get_post_meta().

 We'll probably have to put checks in there to reserve these keywords
 anyhow.

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


More information about the wp-trac mailing list