Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#54533 new enhancement

State more clearly that an active theme can't be deleted

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

Description

A post in the forums https://wordpress.org/support/topic/theres-no-delete-button/ by @dmcohen pointed out a thing that should be better shown:

In wp-admnin/themes.php when a user with capability delete/install themes (i.e. usually an administrator) hits the "Theme details" button that is visible on hover and opens the theme details pop-up, they'll see the "Delete theme" link in the pop-up. But for the currently active theme (and its parent theme, where applicable) that link is "missing".

Suggestion: Instead of nothing, show a short message "This theme is currently active and therefore cannot be deleted."

Change History (3)

#1 @SergeyBiryukov
2 months ago

  • Component changed from Administration to Themes
  • Focuses ui administration added

Related: #51832

#2 @Presskopp
2 months ago

It is already shown if a theme is the "Current Theme" so in my opinion this is not neccesary

[Edit] Oh, but in case it's a parent theme nothing is shown. This could indeed be improved

Last edited 2 months ago by Presskopp (previous) (diff)

#3 @tobifjellner
2 months ago

It is already shown if a theme is the "Current Theme" so in my opinion this is not neccesary

Still: Still, we'd get less confusion if we in clear mentioned that "this theme can't be deleted right now, since it's currently active/currently used as parent theme".

Note: See TracTickets for help on using tickets.