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

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 31 10:28:08 UTC 2011


#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       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by westi):

 Replying to [comment:10 mikeschinkel]:
 > Replying to [comment:9 westi]:
 > > But then plugins lose the ability they have at the moment to
 filter/alter ... the content when this happens
 >
 > These functions could have filters too.  Of course that might cause
 issue with backward compatibility, but that's an orthogonal concern.

 Yes but if they are mutating and individual field it's not simple to
 upgrade that to complete object mutation.

 I think before I would be keen on this It probably should be developed as
 a plugin and have some real world examples of usage too.

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


More information about the wp-trac mailing list