[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 5 01:05:51 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 [20363]:
 {{{
 #!CommitTicketReference repository="" revision="20363"
 Always return a WP_Theme object from wp_get_theme(). Check
 \$theme->exists() or \$theme->errors() to confirm the requested theme
 actually exists. see #20361.
 }}}

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


More information about the wp-trac mailing list