[wp-trac] [WordPress Trac] #14955: Themes should support uninstall.php or uninstall hook
WordPress Trac
noreply at wordpress.org
Wed Nov 23 18:22:36 UTC 2016
#14955: Themes should support uninstall.php or uninstall hook
------------------------------------+------------------------------
Reporter: WraithKenny | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by okvee):
I have a very simple theme that has no feature, just index.php style.css
and screenshot.png.
WordPress have customizer and save settings in the db. (Its name is
'''theme_mods_''MYTHEMENAME''''' in the options table.)
When I delete my theme WordPress '''did not delete''' that value in the
db.
And @nacin said "This doesn't seem like functionality I'd want themes to
have."!
I don't think you love junk.
Please have a function to work on delete/uninstall the theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14955#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list