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

WordPress Trac noreply at wordpress.org
Mon Feb 12 14:55:00 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:  needs-testing dev-feedback  |     Focuses:
----------------------------------------+---------------------

Comment (by johnbillion):

 [https://github.com/Automattic/vip-go-mu-plugins/ WordPress VIP loads
 several plugins as mu-plugins] (notably Jetpack and Query Monitor), it
 could be a good testing platform.

 > As Core has no way to know the name of the "loader" file used for the
 Must-Use plugin, add a filter to your loader file to let Core know the
 filename

 Yeah this is going to be a sticking point, I've worked on many sites where
 there's one `wp-content/mu-plugins/loader.php` type file that loads all
 mu-plugins.

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


More information about the wp-trac mailing list