Skip to content
Snippets Groups Projects
Commit c922b199 authored by lucha's avatar lucha
Browse files

simplify mu-plugin management

the Drop-in mechanism does not need to specify a file-name, in which case it copies all files (excluding readme.txt and similars). Slightly less stuff to write in this case: plugins which declare themselfs to be mu-plugins will be handled automaticaly, the ones which do not have to be listed twice.

More-privacy-option plugin actually ships with other files (translations), so it should not be considered a mu-plugin, but installed network wide as a regular plugin.
parent cb2d78d2
No related branches found
No related tags found
No related merge requests found
...@@ -121,11 +121,10 @@ ...@@ -121,11 +121,10 @@
"wordpress-install-dir": "app/wp-core", "wordpress-install-dir": "app/wp-core",
"installer-types": ["bower-asset", "npm-asset"], "installer-types": ["bower-asset", "npm-asset"],
"installer-paths": { "installer-paths": {
"vendor/{$name}": [ "mu-plugins-tmp/{$name}": [
"wpackagist-plugin/hyperdb", "wpackagist-plugin/hyperdb",
"wpackagist-plugin/disable-wordpress-updates", "wpackagist-plugin/disable-wordpress-updates",
"wpackagist-plugin/wpmu-new-blog-defaults", "wpackagist-plugin/wpmu-new-blog-defaults",
"wpackagist-plugin/more-privacy-options",
"wpackagist-plugin/disable-emojis", "wpackagist-plugin/disable-emojis",
"type:wordpress-muplugin"], "type:wordpress-muplugin"],
"app/wp-core/{$name}": ["type:wordpress-dropin"], "app/wp-core/{$name}": ["type:wordpress-dropin"],
...@@ -138,12 +137,10 @@ ...@@ -138,12 +137,10 @@
"patches-file": "composer.patches.json", "patches-file": "composer.patches.json",
"dropin-paths": { "dropin-paths": {
"app/wp-core/wp-content/mu-plugins" : [ "app/wp-core/wp-content/mu-plugins" : [
"package:wpackagist-plugin/disable-wordpress-updates:disable-updates.php", "package:wpackagist-plugin/disable-wordpress-updates",
"package:wpackagist-plugin/wpmu-new-blog-defaults:cets_blog_defaults.php", "package:wpackagist-plugin/wpmu-new-blog-defaults",
"package:wpackagist-plugin/more-privacy-options:ds_wp3_private_blog.php", "package:wpackagist-plugin/disable-emojis",
"package:wpackagist-plugin/disable-emojis:disable-emojis.php", "type:wordpress-muplugin"
"package:noblogs/ai-mu-plugins:embed.php,remove-password-change-notification.php,send-smtp-email.php",
"package:noblogs/noblogs-wp-ssl:noblogs-wp-ssl.php"
], ],
"app/wp-core/wp-content/themes" : [ "app/wp-core/wp-content/themes" : [
"package:noblogs/themes-child" "package:noblogs/themes-child"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment