[wp-trac] [WordPress Trac] #18390: apply_filters for a theme's functions.php

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 13 03:32:02 UTC 2011


#18390: apply_filters for a theme's functions.php
-------------------------+------------------------------
 Reporter:  ofshard      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by dd32):

 Why exactly do you need to filter the Functions.php location if you can
 completely change the active theme on the fly using filters that already
 exist such as template_directory and those within
 get_stylesheet_directory()?

 The [http://wordpress.org/extend/plugins/theme-switcher/ Theme Switcher
 Plugin] does exactly that.

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


More information about the wp-trac mailing list