[wp-trac] [WordPress Trac] #61419: allow to disable plugin dependencies feature

WordPress Trac noreply at wordpress.org
Tue Jul 2 09:35:51 UTC 2024


#61419: allow to disable plugin dependencies feature
-----------------------------+------------------------------
 Reporter:  pir1             |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by knutsp):

 Replying to [comment:3 peterwilsoncc]:

 > Instead of allowing plugin dependencies to be turned off, I think a
 better solution might be to improve the JavaScript so that once one
 plugin's checkbox is checked, the checkboxes for any plugins that depend
 on it become enabled.

 Why not just enable them all?

 Like when I tick activated plugins and apply bulk Delete, no action is
 taken on the active plugins. There is no explaining message in this case,
 which I think is bad UX.

 Or when I want to enable or disable Auto-update for many depending
 plugins, there is no way to do that in bulk.

 But much worse: When I frist deactivate a plugin that has dependent
 plugins, I can deactivate the depending ones one by one, but not in bulk.
 I have a plugin A that depends on about 10 other plugins. To debug
 something, I want to deactivate this plugin A and all the 10. I then have
 to deactivate 11 plugins one by one, instead of just 1 plugin
 individually, then 10 in bulk.

 Your proposed solution will probably help in this last case, but it will
 require **all** of the plugins to be deactivated in the right order, as
 some of the 10 may depend on each other, too.

 By ignoring illegal activations, deactivations and deletions, keep the
 selections on those and emit a message about it, the admin can just repeat
 the bulk actions one (or a few) time(s) until all are executed.

 Then, in a future iteration, perhaps, this repetition can be automated,
 using this "incremental" approach towards the goal of getting them all
 activated, deactivated or deleted.

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


More information about the wp-trac mailing list