[wp-trac] [WordPress Trac] #11611: Allow pluggable arg checking in current_theme_supports
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 19 16:34:08 UTC 2011
#11611: Allow pluggable arg checking in current_theme_supports
---------------------------------+-----------------------------
Reporter: hakre | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch 3.2-early |
---------------------------------+-----------------------------
Changes (by duck_):
* keywords: has-patch, 3.2-early => has-patch 3.2-early
Comment:
Pretty much how I was writing the patch before I double checked for an
existing ticket.
However, I think moving the `return apply_filters` out of the switch
statement would be better for readability. Having it as the default case
makes the final `return true;` dead code and weird.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11611#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list