Is there a canonical way for a plugin to install a mu-plugin or drop-in?

There are no canonical methods for doing this, and in many cases it’s undesirable. E.g. more than one plugin may want to override a drop in. You might also be reaching into and modifying files that are managed by the hosting company, which might either break things or trigger problems. Instead, you should disable any … Read more

Unable to access WPadmin, website down

go to the WordPress directory wp-content/plugin/ and rename the folder “force-strong-passwords” to force-strong-passwords-d If it worked then it is a plugin error remove this plugin and install its alternative plugin If you still need this plugin than contact to the plugin author

Mu-plugin causes entire site to crash [closed]

is_plugin_active isn’t available for mu-plugins to use. The codex says: NOTE: defined in wp-admin/includes/plugin.php, so this is only available from within the admin pages, and any references to this function must be hooked to admin_init or a later action. If you want to use this function from within a template or a must-use plugin, you … Read more

How to use a Must-Use plugin to hide a regular one and to hide itself?

Apparently, there’s no way to remove one plugin from the Must-Use list… But then, found a filter that does even better: show_advanced_plugins will completely hide the sight of the Must-Use plugins. After all, if you’re trying to hide something of this nature, then hide it all… It’s inside the class WP_Plugins_List_Table and takes two arguments: … Read more

ignoring, hidding mu plugins when wp-cli is run

I’m the author of Mobile Smart Pro. I’m in the midst of testing WP-CLI with Mobile Smart Pro, and on line 27 of /wp-content/mu-plugins/ you should add the following test: if (!$mobile_smart) return $pluginList; So the section would look like: `function disablePlugins($pluginList) { if (is_admin()) return $pluginList; // only deactivate on front end global $mobile_smart; … Read more