Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19505 closed enhancement (duplicate)

Theme deletion should result in the deletion of its settings

Reported by: wpsmith's profile wpsmith Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords: needs-patch
Focuses: Cc:

Description

Currently, when a theme is DELETED (not deactivated), the theme's settings are not deleted. I suggest that a similar system to how plugins are uninstalled with the use of WP_UNINSTALL_PLUGIN, the register_uninstall_hook(), and uninstall.php for themes, child themes, and frameworks.

Change History (2)

#1 in reply to: ↑ description @DrewAPicture
13 years ago

  • Cc xoodrew@… added

Replying to wpsmith:

I suggest that a similar system to how plugins are uninstalled with the use of WP_UNINSTALL_PLUGIN, the register_uninstall_hook(), and uninstall.php for themes, child themes, and frameworks.

+1. Sometimes it's a real hassle to manually go through and delete framework settings from the db.

#2 @scribu
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.