[wp-trac] [WordPress Trac] #20334: check_theme_switched() will Fatal Error if the old theme cannot be found for some reason

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 15 21:23:04 UTC 2012


#20334: check_theme_switched() will Fatal Error if the old theme cannot be found
for some reason
--------------------------+-----------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.4
Component:  Themes        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------
Changes (by johnjamesjacoby):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This is still not completely fixed. Easiest way to duplicate is by
 renaming a theme in it's style.css when you're already at wp-
 admin/themes.php.

 * Visit wp-admin/themes.php
 * Rename any theme in style.css
 * Refresh wp-admin/themes.php
 * Fatal error: Call to a member function exists() on a non-object in
 /wp.local/wp/wp-includes/theme.php on line 1557
 * Error points to check_theme_switched()

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


More information about the wp-trac mailing list