[wp-trac] [WordPress Trac] #11611: Allow pluggable arg checking in current_theme_supports

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 02:02:33 UTC 2009


#11611: Allow pluggable arg checking in current_theme_supports
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                    
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  3.0               
Component:  Themes        |     Version:  2.9               
 Severity:  normal        |    Keywords:  developer-feedback
--------------------------+-------------------------------------------------
 There is an @todo task left in the file wp-includes/theme.php inside the
 current_theme_supports function. The original author should decide wether
 or not he wants to implement the noted feature or to just drop it.

 From other code I've seen today, it's commong to check $args[0] for being
 an array and if so to set $args =& $arg[0];

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11611>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list