[wp-trac] [WordPress Trac] #14874: Add New Filter to validate_current_theme

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 25 10:32:07 UTC 2010


#14874: Add New Filter to validate_current_theme
-------------------------+--------------------------------------------------
 Reporter:  transom      |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.1            
 Severity:  normal       |    Keywords:  theme has-patch
-------------------------+--------------------------------------------------
Changes (by westi):

 * cc: westi (added)


Comment:

 Adding a filter here is a bad idea.

 Your adding the check in completely the wrong place.

 We could/should add an activation hook themes could use.

 However, a theme should gracefully degrade and work in all scenarios.
 If plugins are missing then the theme should add an admin notice and let
 the user know without causing any php errors / WSOD on the frontend.

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


More information about the wp-trac mailing list