[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 25 18:56:59 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):
Discussed with scribu in IRC and the advantage of the data blob is that we
get __get() for all "properties". There we can check the filter property
as we do in WP_User and run sanitizers without having to write individual
get method for everything.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list