[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
Fri Jan 30 05:06:11 UTC 2026


#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:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Plugins                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback 2nd-opinion   |     Focuses:
  needs-unit-tests needs-refresh                 |  administration
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):

 * keywords:  has-patch dev-feedback 2nd-opinion needs-testing needs-unit-
     tests => has-patch dev-feedback 2nd-opinion needs-unit-tests needs-
     refresh


Comment:

 I attempted to test the attached patch using:

 {{{
 npm run grunt patch:31136
 }}}

 However, the patch does not apply cleanly against current `trunk`.

 The following files failed during patching:

  * `wp-admin/includes/plugin.php`
  * `wp-admin/plugins.php`

 Reject files were generated for both locations.

 Since the patch was created several years ago and core has changed
 significantly since then, it appears to be outdated. Because of this,
 removing the `needs-testing` keyword and adding `needs-refresh` so the
 patch can be rebased against current core before further testing.

 A refreshed patch would be needed for proper testing and review.

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


More information about the wp-trac mailing list