[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
Sun Feb 25 14:51:24 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 svovaf):

 Replying to [comment:1 manchumahara]:
 > seems method2  clearly gives the instruction
 https://developer.wordpress.org/plugins/the-basics/uninstall-methods/

 I understand that it's currently not defined when using method number 2,
 that's why I have opened this ticket. I suggest to define it for both
 cases so the plugin can identify the uninstallation context.

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


More information about the wp-trac mailing list