[wp-trac] [WordPress Trac] #35145: Plugins: introduce a check for activated plugins when deleting plugins in the same directory

WordPress Trac noreply at wordpress.org
Thu Dec 17 23:02:45 UTC 2015


#35145: Plugins: introduce a check for activated plugins when deleting plugins in
the same directory
---------------------------+-------------------------
 Reporter:  afercia        |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  4.5
Component:  Plugins        |    Version:  4.4
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:  ui, multisite  |
---------------------------+-------------------------
 Noticed while investigating on #34439

 Sometimes, plugin authors bundle multiple plugins in the same directory.
 They shouldn't to this in the first place, but they do.

 When deleting one of the "same directory" plugins, WordPress handles this
 displaying a warning with a message that correctly lists all the plugins
 that are going to be deleted:

 [[Image(https://cldup.com/t0T_q6tyAw.png)]]

 By the way, if one of these plugin is activated, there's no warning and
 users can actually delete an activated plugin. This should definitely be
 avoided.

 [[Image(https://cldup.com/2_jD5dr1HI.png)]]

 Also, needs to check what happens on multisite installations :)

 cc @swissspidy

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35145>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list