-
- Downloads
wordpress-disable-patches
The patch is taken from the git repo noblogs-wp. It does not apply cleany (yet), since there is an annoying issue with mu-plugins. They have to be single files, but they are not distributed as single files. There is a tool which auto-loads them, but I think the mismatch in the directories still causes the patch do not apply nicely. We have few mu-plugins and we do not update them often, we could think of some solution specific to this problem later.
Showing
- composer.json 9 additions, 4 deletionscomposer.json
- composer.lock 73 additions, 1 deletioncomposer.lock
- composer.patches.json 2 additions, 2 deletionscomposer.patches.json
- patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch 95 additions, 0 deletions...atched-Disable-Updates-to-run-checks-during-cron-jo.patch
... | ... | @@ -19,19 +19,24 @@ |
"require": { | ||
"php": ">=7.1", | ||
"composer/installers": "^1.8", | ||
"bjornjohansen/wplang": "^0.1.1", | ||
"cweagans/composer-patches": "^1.6", | ||
"johnpbloch/wordpress": "^5.4", | ||
"cweagans/composer-patches": "^1.6" | ||
"bjornjohansen/wplang": "^0.1.1", | ||
"lkwdwrd/wp-muplugin-loader": "^1.0", | ||
"wpackagist-plugin/disable-wordpress-updates": "^1.6" | ||
}, | ||
"extra": { | ||
"wordpress-install-dir": "web/wp", | ||
"installer-paths": { | ||
"installer-paths": { | ||
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"], | ||
"web/app/plugins/{$name}/": ["type:wordpress-plugin"], | ||
"web/app/themes/{$name}/": ["type:wordpress-theme"] | ||
}, | ||
"wordpress-language-dir": "web/app/languages", | ||
"wordpress-languages": [ "en_GB", "it_IT" ], | ||
"patches-file": "composer.patches.json" | ||
"patches-file": "composer.patches.json", | ||
"force-mu": [ | ||
"disable-wordpress-updates" | ||
] | ||
} | ||
} |
Please register or sign in to comment