[wp-trac] [WordPress Trac] #15709: Plugin deletion when running multisite

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 17 17:21:34 UTC 2010


#15709: Plugin deletion when running multisite
----------------------------+-----------------------
 Reporter:  flashingcursor  |       Owner:  PeteMall
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  3.1
Component:  Network Admin   |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by nacin):

 How to fix this:

  1. Hide the delete link if the plugin is active on the main site.

  2. On the plugin deletion confirmation screen, `if is_network_admin() &&
 ! is_network_only_plugin()`, include a div class="error" with a warning
 similar to the JS confirmation dialog on #15707.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15709#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list