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

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 18 21:09:38 UTC 2012


#12267: Introduce WP_Post class
-------------------------+-----------------------------
 Reporter:  andy         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by ryan):

 I personally am not at all interested in putting a bunch of template
 functions in WP_Post, especially for 3.5. Just do what we did with
 WP_User.  Add some magic methods so we can load things like ancestors on
 demand and get better cache behavior. Make sure everything is back compat.
 Do more some other time.

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


More information about the wp-trac mailing list