[wp-trac] [WordPress Trac] #14302: Object Property getters and setters

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 23:23:00 UTC 2010


#14302: Object Property getters and setters
-------------------------+--------------------------------------------------
 Reporter:  filosofo     |       Owner:  filosofo      
     Type:  enhancement  |      Status:  accepted      
 Priority:  normal       |   Milestone:  Future Release
Component:  Post Types   |     Version:  3.0           
 Severity:  normal       |    Keywords:  has-patch     
-------------------------+--------------------------------------------------

Comment(by filosofo):

 This comes from a ton of work with custom post type stuff.  Quite often I
 just need to update one field, and I instead have to retrieve the whole
 post object and re-save all of it.

 It doesn't make any sense, especially since what fields are in the posts
 table and what fields are in the meta table are more or less arbitrary
 from historical accident.

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


More information about the wp-trac mailing list