[wp-trac] [WordPress Trac] #50346: Make delete plugin message less scary
WordPress Trac
noreply at wordpress.org
Tue Jun 23 16:31:09 UTC 2020
#50346: Make delete plugin message less scary
-------------------------+-----------------------------
Reporter: joostdevalk | Owner: SergeyBiryukov
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.5
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------------
Comment (by Chouby):
Having a different message based on the presence of the file
`uninstall.php` would be a good progress. It would be even better if the
message could be controlled by the plugin in case there is a file
`uninstall.php`, as in most cases, deleting the data is optional. For
example WooCommerce controls this with an option
https://github.com/woocommerce/woocommerce/blob/4.2.1/uninstall.php#L28.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50346#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list