The MU forums have moved to WordPress.org

Mu Plugins System ?? (6 posts)

  1. MazZziKa
    Member
    Posted 16 years ago #

    in plugins folder if u can add a folder containing files and all files will be activate if u activate the plugin
    but in mu-plugins folder if u add a folder containing files .. non of the files will be activate except if the file that contain the activation code moved to mu-plugin folder

    can coders edit that .. as this will help alot in make most of plugins made for wp cab be easly integrated to WpMu

  2. andrea_r
    Moderator
    Posted 16 years ago #

    Most people are just sticking a file in mu-plugins to include the sub-folder. If you really want to see it included (or at least get an official opinion, file a ticket. :)

  3. lunabyte
    Member
    Posted 16 years ago #

    Personally, I wouldn't want it to dig through sub-directories. Calling a file in a sub-directory is overall much more friendly than having it include every single file, in every single directory.

    You do know that "most" plugins work just fine in the actual plugins directory, right? As well as understand what the additional mu-plugins directory is for? (It's for files that MUST be loaded on every single page, for every single blog.)

    99% of plugins don't need to be in mu-plugins, really.

  4. MazZziKa
    Member
    Posted 16 years ago #

    is there a code that make me include a specific files in sub-directories

  5. lunabyte
    Member
    Posted 16 years ago #

    Uh yeah. include, include_once, require, require_once...

    http://php.net/manual/en/language.control-structures.php

    http://php.net/

  6. omry
    Member
    Posted 16 years ago #

    Check out my Plugin Commander:
    http://firestats.cc/wiki/WPMUPluginCommander

About this Topic