[wp-trac] [WordPress Trac] #31136: Allow plugin authors to register an additional 'Uninstall Notification' plugin header and to display back to the user during plugin uninstall flow

WordPress Trac noreply at wordpress.org
Sat Jan 16 15:22:42 UTC 2016


#31136: Allow plugin authors to register an additional 'Uninstall Notification'
plugin header and to display back to the user during plugin uninstall flow
-------------------------------------------------+-------------------------
 Reporter:  cefiar                               |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Plugins                              |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch dev-feedback 2nd-opinion   |  Resolution:
  needs-testing close                            |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch dev-feedback 2nd-opinion needs-testing => has-patch
     dev-feedback 2nd-opinion needs-testing close


Comment:

 An extra header for that feels weird. Adding a new param to
 `register_uninstall_hook` sounds better, but that means the text would
 need to be stored in the database.

 In both cases, the text wouldn't be translatable because the plugin is
 already deactivated, basically making this ticket a ''wontfix'' — or
 ''maybelater'', if we can figure out a way to only deactivate the plugin
 after clicking uninstall.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31136#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list