Skip to content
Commit 267d799b authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Always set WP_Theme->template even when there is an error and we have no idea...

Always set WP_Theme->template even when there is an error and we have no idea what the template is. (Assume it is the stylesheet.) Prevents a number of issues including WP_Theme->is_child_theme() lying. Tidy the theme editor for broken themes and themes with no templates (PHP files), or no template (parent), or are broken. Allow broken themes to be edited. see #20103.

git-svn-id: https://core.svn.wordpress.org/trunk@20315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 2873ec28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment