[wp-trac] [WordPress Trac] #51830: Site Health Themes checkout isn't correct about automatic usage of default theme or themes condition in case of a broken theme

WordPress Trac noreply at wordpress.org
Fri Nov 20 06:33:33 UTC 2020


#51830: Site Health Themes checkout isn't correct about automatic usage of default
theme or themes condition in case of a broken theme
----------------------------+-----------------------------
 Reporter:  oglekler        |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.6
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 1. In absence of a default theme Site Health says:

 "Your site does not have any default theme. Default themes are used by
 WordPress automatically if anything is wrong with your chosen theme."

 https://yadi.sk/i/mP_59ss-3AsCCQ

 It does not work this way:

 a. PHP error in an active theme:
 https://yadi.sk/i/MuqOAQ0kjldWPw

 b. Absence of an active theme:
 https://yadi.sk/i/Bzpy1icVk1Csiw

 c. Absence of style.css — theme continues to work

 And default theme is only activating automatically if you go to
 "Appearance > Themes" and formally something is wrong with theme, like an
 absence of style.css, but even if the theme can work fine but user after
 opening this page has no chouse what to do. It is not a convenient
 solution for a user not to see what was wrong and not to have a choice of
 what to do. More to the subject:
 https://core.trac.wordpress.org/ticket/51479

 2. Site Health don't tell about the absence of style.css which is causing
 the switch to default theme if you are visiting "Appearance > Themes". So,
 it does not run the same check what is doing this Themes page.

 https://yadi.sk/i/XeoY3c1x4rG_IA

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51830>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list