Support » Plugin: Cimy User Extra Fields » [Plugin: Cimy User Extra Fields] Fix so no need to force into "must-use" plugins folder

  • Hi, mu-plugin stands for “must use” plugins not “multi user”.

    If you swop all instances of

    $cimy_uef_plugins_dir == "mu-plugins"



    and then “network activate” the plugin from the network admin plugin list, one can achieve similar effect in a the more ‘wordpress way. Then folks can then more easily activate and deactivate when testing.

    It also allows the possibility of NOT network activating it and having the subsites activate as they wish.

    Also suggest take that cimy_uef_mu_activation.php out of the must-use folder. It does not disappear when network deactivating the plugin, leaving those extra menu options, which was somewhat annoying.

    Also you may wish to fix warnings when there are no hidden fields:
    Warning: in_array() expects parameter 2 to be array, null given in C:\wamp\www\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 1420

Viewing 1 replies (of 1 total)
  • Plugin Author Marco Cimmino


    It cannot work like that, because if the plug-in is always under the “mu” directory then can be detected for all users, instead is_network_admin() returns true only when you are in the network admin section.

    Instead the idea of having it under “mu” is for ALL users then uses the super admin defined extra fields.
    So your patch described like that won’t work, unless you elaborate it a bit.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Cimy User Extra Fields] Fix so no need to force into "must-use" plugins folder’ is closed to new replies.