Meta Box Updater Problem + Core Bundle Update Issues
- This topic has 6 replies, 3 voices, and was last updated 9 years, 4 months ago by
Anh Tran.
-
AuthorPosts
-
December 14, 2015 at 9:56 PM #1909
keenadv
ParticipantHi So it seems that Meta Box Updater does not function well.
You code
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_updates' ) );
Is triggered too late. I had to place this in the class construct of
MB_Updater
.I also noticed another problem. Since we have purchased the core bundle - we will never actually be able to receive plugin updates - as the bundle in itself is not a plugin but a collection of a plugins. Ideally each plugin should be individually added to our account so that the updater api brings back the correct set of available updates.
Thanks,
ThomasDecember 15, 2015 at 10:36 AM #1911Anh Tran
KeymasterHi keenadv,
Thanks for your comments! I really appreciate that you suggest ideas for the code.
The reason I added the filter in
admin_init
hook is for checking user permission. And it still works. Why do you think it's triggered too late? Doesn't that work for you?Regarding the core extensions bundle, you're right about that. I'm trying to improve the update system (mostly on the server) to be able to handle bundles well. This issue was requested for a while, but I haven't completed it yet.
December 15, 2015 at 2:32 PM #1913keenadv
ParticipantIt doesn't seem to be working for me. I am running a multisite install atm wordpress 4.4. When i try to visit the check for updates page in wordpress it does not trigger. When i moved the code into the construct it did trigger - but then it will trigger on every page including the frontend which is bad i guess.
As for the bundle fix, sometimes we don't upload all the plugins in a bundle for a specific site - so the new update system will need to support that.
December 16, 2015 at 12:02 PM #1926Anh Tran
KeymasterYes, moving the code into the constructor makes it runs on all pages. That's why I need to put it in
admin_init
. Can you check by clicking Check update button (maybe some times)? WP doesn't trigger checking updates more than twice a day, that's probably why you don't see new version.I'm working on the update system and that will cover the issue.
December 17, 2015 at 5:56 PM #1935keenadv
ParticipantOk great thanks - i believe it does work when pressing check again - the problem was since my bundle can't get updates i never was able to update. 🙂
December 19, 2015 at 7:42 PM #1940takinduro
ParticipantI am running into the same issue. Meta Box is updating fine, but when I try to update meta box group it errors out and deletes the extension any help would be greatly appreciated
December 20, 2015 at 12:42 AM #1941Anh Tran
KeymasterHi guys,
I've just finished the update system. Now you will be able to receive updates for all plugins in the bundle. This update also includes some improvements in your downloads:
- The email sent to you after purchasing a bundle will contains all links of all products. You can download each one instead of a big .zip file as before.
- The complete list of single plugins in the bundle with its download link will be listed in your profile page.Please check if it works for you.
Thanks.
-
AuthorPosts
- The topic ‘Meta Box Updater Problem + Core Bundle Update Issues’ is closed to new replies.