[wp-trac] [WordPress Trac] #26873: PHP warning on the Themes page when the active theme is deleted

WordPress Trac noreply at wordpress.org
Sun Jan 19 15:38:41 UTC 2014


#26873: PHP warning on the Themes page when the active theme is deleted
--------------------------+-----------------------------
 Reporter:  toszcze       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 When the active theme is deleted from server, the Themes page shows a PHP
 warning:

 {{{
 Warning: implode(): Invalid arguments passed in /var/www/wordpress/wp-
 includes/class-wp-theme.php on line 675
 }}}

 To replicate this bug:
 1. In the admin panel go to Appearance -> Themes
 2. Activate any theme
 3. Remove the activated theme folder from server (or just rename it)
 4. Refresh the Themes page

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26873>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list