[wp-trac] [WordPress Trac] #12354: WP_WidgetArea class

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 25 16:49:12 UTC 2010


#12354: WP_WidgetArea class
-------------------------+--------------------------------------------------
 Reporter:  jimisaacs    |       Owner:                      
     Type:  enhancement  |      Status:  assigned            
 Priority:  normal       |   Milestone:  Future Release      
Component:  Widgets      |     Version:                      
 Severity:  normal       |    Keywords:  widgets dev-feedback
-------------------------+--------------------------------------------------

Comment(by jimisaacs):

 Common sense hit me in the face again. It's a love hate relationship with
 me and common sense ;)

 Anyway, there is a reason the multisite functionality includes simple
 conditionals. That way the multisite conditionals can be integrated
 directly into what ever way I figure out how to relate everything to the
 conditional contexts that I mentioned before. So in my mind, a person can
 have the same control for is_home(), is_single(), is_logged_in() as with
 is_multisite() and is_main_site().

 It is nice that all of these conditionals are simple global helpers, but I
 am wandering if there are plans for the future to make these more dynamic?
 Is there any talk of maybe allowing access to something like a conditional
 array or object a developer can just check all in one shot? Or should I
 continue to think about hardcoding the conditional functions or using them
 as callbacks?

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


More information about the wp-trac mailing list