[wp-trac] [WordPress Trac] #36666: Enhance `remove_theme_support()` so that it can take additional arguments

WordPress Trac noreply at wordpress.org
Mon Apr 25 18:45:21 UTC 2016


#36666: Enhance `remove_theme_support()` so that it can take additional arguments
-------------------------+------------------------------
 Reporter:  flixos90     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------

Comment (by jmichaelward):

 @flixos90 I can work on a patch for this. Looking at the
 `remove_theme_support()` method, it appears that the function is actually
 a wrapper method for `_remove_theme_support()`, which does include a
 switch statement to conditionally check for some theme settings. I assume
 the fix would need to be applied to this method instead of its wrapper -
 can you confirm?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36666#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list