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

WordPress Trac noreply at wordpress.org
Fri Feb 28 15:28:41 UTC 2014


#26873: PHP warning on the Themes page when the active theme is deleted
------------------------------+------------------------
 Reporter:  toszcze           |       Owner:  nacin
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  3.9
Component:  Themes            |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch commit


Comment:

 This should probably be fixed higher up in the stack, in
 `WP_Theme::display()`.

 See [attachment:26873.2.diff], which also fixes inaccurate comment about
 the `@return` value.

 Also discovered #27235 while testing this.

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


More information about the wp-trac mailing list