﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20364	Can't access the dashboard if your current template/stylesheet options are invalid	westi	nacin	"If your current template/stylesheet options are invalid - for example they point at a theme that has been deleted then you get the expected WSOD on the front-end so in desperation you go to login in to /wp-admin/ only to find that shows a WSOD too :(

Pre WP_Theme this worked a treat.

The issue is {{{wp_dashboard_right_now()}}} which has this code:

{{{
	$theme = wp_get_theme();

	echo ""\n\t<p>"";

	if ( $theme->errors() ) {
}}}

{{{wp_get_theme()}}} can return false.

Broken by [20029] - {{{current_theme_info}}} always returned a stdClass whatever the validity of the current theme by {{{wp_get_theme()}}} doesn't.

Attached patch is one possible fix."	defect (bug)	closed	high		Themes	3.4	major	duplicate	has-patch	
