[wp-trac] [WordPress Trac] #21912: Add return filter to current_theme_supports()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 18:47:59 UTC 2012


#21912: Add return filter to current_theme_supports()
-------------------------+------------------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by nacin):

 Seems to me like manual registration of the meta box makes the most sense.
 You are *not* offering support for featured images, so tricking WordPress
 into thinking for a moment that you are, seems a bit weird.

 I'm not entirely sure why current_theme_supports() has a filter at all,
 given that add/remove directly affect its value.

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


More information about the wp-trac mailing list