[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 00:22: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: Awaiting Review
Component: General | Version: 3.4
Severity: normal | Keywords: needs-patch
-----------------------------+-----------------------------
in wp-admin/includes/dashboard.php lines 363 and 1299 wp_get_theme() is
called, and its returned $theme value has a method called on it without
ever being tested for whether the returned value was FALSE rather than an
object.
This causes bad things. And results in sad owls.
http://utterlycute.com/2012/03/sad-owl-is-so-sad/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20361>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list