[wp-trac] [WordPress Trac] #22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)

WordPress Trac noreply at wordpress.org
Sat May 13 18:06:16 UTC 2023


#22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:  afragen
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.3
Component:  Upgrade/Install                      |     Version:  3.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch needs-        |     Focuses:
  design-feedback needs-dev-note has-unit-tests  |
  2nd-opinion changes-requested                  |
-------------------------------------------------+-------------------------

Comment (by afragen):

 Replying to [comment:291 knutsp]:
 > On install, these dependencies should be handeled in about the same way
 as the minimum required version restrictions (WP/PHP).
 >
 > And we can't assume a plugin with unmet dependencies will never be
 installed. There are other ways. So this must also be checked before
 allowing activation (UI and API level), plus, maybe, even after
 activation, forcing an immediate deactivation.

 If you haven't tried the Plugin Dependencies feature plugin, you should.
 Look through the readme and the `test-plugins` folder too.

 Testing the plugin should answer most questions.

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


More information about the wp-trac mailing list