Hey all,
Not a lot of movement here, but figured I’d update with my ‘solution’ ??
This only works If you’re using composer to manage your plugins.
If you’re feeling brave, you can just pull from dev-master
here: https://github.com/wphuman/sunny
I wasn’t super keen on doing that, so I wrote this fragile thing:
composer.json
"scripts": {
"post-install-cmd": [
"./scripts/patch_broken_plugins"
],
"post-update-cmd": [
"./scripts/patch_broken_plugins"
]
},
scripts/patch_broken_plugins
cp -f scripts/patches/sunny/admin/class-sunny-admin.php web/app/plugins/sunny/admin/class-sunny-admin.php
scripts/patches/sunny/admin/class-sunny-admin.php
[this is the patched version of the problem file]
Not sexy, but quick and easy, and now I don’t have daily bug reports about metaboxes ??
Note: If you do end up using the post install/update script REMEMBER TO REMOVE IT IF/WHEN THIS PLUGIN IS UPDATED.
Good luck!