[wp-trac] [WordPress Trac] #43098: Defining WP_UNINSTALL_PLUGIN also when the uninstall handler is registered via register_uninstall_hook()

WordPress Trac noreply at wordpress.org
Tue Feb 27 21:58:35 UTC 2018


#43098: Defining WP_UNINSTALL_PLUGIN also when the uninstall handler is registered
via register_uninstall_hook()
----------------------------+------------------------------
 Reporter:  svovaf          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+------------------------------

Comment (by Andy Schmidt):

 Replying to [comment:1 manchumahara]:

 Yet, it would be helpful for method 1 to know that it's running in the
 "uninstall" context - especially since it would allow to control WHICH
 code outside of functions actually SHOULD execute during uninstall.

 Probably not a "bug", but an unnecessary limitation.

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


More information about the wp-trac mailing list