Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#54533 new enhancement

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

Reported by: tobifjellner's profile 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
3 years ago

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

Related: #51832

#2 @Presskopp
3 years 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 3 years ago by Presskopp (previous) (diff)

#3 @tobifjellner
3 years 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.