Make WordPress Core

Opened 16 months ago

Last modified 12 months ago

#51479 new enhancement

Notifications in case of a broken theme

Reported by: oglekler Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: administration Cc:


  1. If the current theme is broken or does not exist, WordPress doesn’t apply automatically another theme until someone will visit “Themes” in admin and are not sending the notification to Administration Email Address either. So, the site owner could have no idea that something is wrong.
  1. If someone is visiting the Dashboard, there is no information that something is wrong with the theme, even if the frontend isn’t working normally already.
  1. The message “The active theme is broken. Reverting to the default theme.” is marked green. Possibly it needs to be splitted into two messages - error and warning.
  1. If there is an Error “Stylesheet is missing.”, the message “The active theme is broken. Reverting to the default theme.” is also present above the error, but actually is nothing happening (it’s good behaviour in comparison to what was previously when a site could have been working fine without style.css and was deactivating a theme after you visit Themes in the admin). https://yadi.sk/i/FtWLhEyBLx2qSQ So, the second message is misleading and needs to be removed in the case where the reverting isn't happening.

Change History (3)

#1 @sabernhardt
16 months ago

  • Component changed from General to Themes
  • Focuses administration added

I think the first item might be better on a separate ticket (Site Health component?).

#2 @oglekler
14 months ago

The screenshot I refer to in point 4: https://yadi.sk/i/6SzkdL5tGLfz2g The switch between themes isn't happening if the broken active theme is a default one.

Note: See TracTickets for help on using tickets.