[wp-trac] [WordPress Trac] #26735: Plugin bulk deletion attempts to define WP_UNINSTALL_PLUGIN constant multiple times

WordPress Trac noreply at wordpress.org
Mon Mar 24 21:38:50 UTC 2014


#26735: Plugin bulk deletion attempts to define WP_UNINSTALL_PLUGIN constant
multiple times
--------------------------+-----------------------------
 Reporter:  jdgrimes      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Plugins       |     Version:  2.7
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by nacin):

 * priority:  normal => low
 * severity:  normal => minor
 * milestone:  3.9 => Future Release


Comment:

 No good solution here, punting.

 An uninstall routine really just needs to lead with `defined(
 'WP_UNINSTALL_PLUGIN' ) ) or exit;`. I didn't even know until this ticket
 it was defined as `__FILE__`.

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


More information about the wp-trac mailing list