Make WordPress Core

#23403 closed defect (bug) (duplicate)

Add folder support for the mu-plugins directory (similar to how /plugins works)

Reported by: aaronholbrook Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:


Relating to this discussion, and as documented here

WordPress only looks for PHP files right inside the mu-plugins directory, and (unlike for normal plugins) not for files in subdirectories. You may want to create a proxy PHP loader file inside the mu-plugins directory:

I propose that we fashion the /mu-plugins to act in a similar fashion to the /plugins folder which looks for plugins either by themselves or in a folder with a named .php file.

Change History (4)

comment:1 Otto4215 months ago

-1. I don't see the point. Just use /plugins if you need them to behave the same way as /plugins does.

comment:2 toscho15 months ago

  • Cc info@… added

+1. Some plugins must be mu-plugins, for example when they set cookie constants. There is no reason to restrict those plugins.

comment:4 SergeyBiryukov15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #14359 and #5207.

Note: See TracTickets for help on using tickets.