[wp-trac] [WordPress Trac] #12267: Upgrade loop objects to provide identical presentational interfaces.

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 9 03:34:12 UTC 2011


#12267: Upgrade loop objects to provide identical presentational interfaces.
-------------------------+-----------------------------
 Reporter:  andy         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  3.2-early    |
-------------------------+-----------------------------

Comment (by filosofo):

 Replying to [comment:43 hakre]:
 > As post types (content data) have a lot of dynamic properties I suggest
 some kind of [http://php.net/manual/en/language.oop5.abstract.php
 ''abstract'' base class] as well and an abstract visitor base class. That
 should offer a lot of flexibility in conjunction with the interface.

 If you look at my patch from a year ago `WP_Object` is an abstract class,
 in this case with "abstract" in comments because at that point we couldn't
 have gone PHP 5.

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


More information about the wp-trac mailing list