[wp-trac] [WordPress Trac] #20361: Deal with FALSE value of wp_get_theme() in ~/wp-admin/includes/dashboard.php to avoid making sad owls.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 03:33:44 UTC 2012


#20361: Deal with FALSE value of wp_get_theme() in ~/wp-
admin/includes/dashboard.php to avoid making sad owls.
-----------------------------+------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Themes           |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------

Comment (by nacin):

 In [20524]:
 {{{
 #!CommitTicketReference repository="" revision="20524"
 Always return a WP_Theme object from wp_get_theme(). If we can't find the
 theme root, assume the default theme root. (Which will probably result in
 a WP_Theme object that returns false for the exists() method, which is
 fine.) see #20361.
 }}}

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


More information about the wp-trac mailing list