Index: src/wp-includes/template-loader.php
===================================================================
--- src/wp-includes/template-loader.php	(revision 36335)
+++ src/wp-includes/template-loader.php	(working copy)
@@ -86,7 +86,7 @@
 	 */
 	if ( $template = apply_filters( 'template_include', $template ) ) {
 		include( $template );
-	} elseif ( is_user_logged_in() ) {
+	} elseif ( current_user_can( 'install_themes' ) ) {
 		$theme = wp_get_theme();
 		if ( $theme->errors() ) {
 			wp_die( $theme->errors() );
