[wp-trac] [WordPress Trac] #60504: Plugin dependencies: Account for mu-plugin as dependency

WordPress Trac noreply at wordpress.org
Tue Feb 20 23:04:53 UTC 2024


#60504: Plugin dependencies: Account for mu-plugin as dependency
--------------------------------------+---------------------
 Reporter:  johnbillion               |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.5
Component:  Upgrade/Install           |     Version:  trunk
 Severity:  critical                  |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |     Focuses:
--------------------------------------+---------------------
Changes (by costdev):

 * keywords:  needs-testing dev-feedback has-patch has-unit-tests => dev-
     feedback 2nd-opinion


Comment:

 For others' reference, here's the issue that Peter raised on the Feature
 Plugin's repository in 2022: https://github.com/WordPress/wp-plugin-
 dependencies/issues/2

 Noting [https://github.com/WordPress/wp-plugin-
 dependencies/issues/2#issuecomment-1073411819 Dion's comment] in
 particular as indicating reasons why Must-Use plugins weren't considered
 valid dependencies during the feature's development.

 Now that this has been raised in Trac, I think it's fine that we discuss
 the merits/needs of supporting Must-Use plugins again. Even if Must-Use
 plugins continue not to be supported, at least we'd have considered and
 reached that decision twice. Adding `2nd-opinion`.

 Should there be consensus to support Must-Use plugins as dependencies,
 [https://github.com/WordPress/wordpress-develop/pull/6141 PR 6141] is one
 implementation that demonstrates how Must-Use plugin support ''could'' be
 added and may aid discussion by indicating possible limitations such as
 the loader file name having no connection to the actual plugin it loads,
 without the use of the `wp_plugin_dependencies_slug` filter demonstrated
 in the PR's description.

 Removing `has-patch`, `has-unit-tests` and `needs-testing` so as not to
 indicate that Must-Use plugin support has been agreed.

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


More information about the wp-trac mailing list