-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some assistance with a universal updater for a private repo #540
Comments
I see that in your plugin, the function that creates the update checker instances is attached to the I'm not sure if that could also affect the numbers in the admin menu. Still, as a test, it might be worth moving the functions to a much earlier hook, like |
This was perfect, it was so tiny I would never have worked it out thank you; I now need to work out how to get it to run 4 times a day for updates and that should be it done now thanks again |
it's running every single time and every single page I am running in my admin area, any suggestions on how to limit it to only plugins and updates or Ideally, 4 times a day for it to run and the updates be there for the twice-daily WordPress check is enough for me, I suspect this will work for the 4 times a day but I am not sure how to restrict where it runs. function ninja_custom_cron_schedule( $schedules ) { function ninja_updater_schedule_tasks() {
} Thanks Again |
If you want to control when exactly PUC checks for updates, one way would be to pass Note that you will still need to initialize the update checker on other pages, or the updates won't show up in the admin. |
Thanks I think I understood but I think I've done something wrong now I get no checking at all, the modifications I made are here You can see the commit here: I will take another look this evening, thanks again for you help |
|
I haven't been including this in my plugins I have used a single plugin to update them all and its worked fine for 3 years, I have made some modifications to it over the years an early version is available in a public repo.
I can now update whatever I choose from my repo if it has it in there on any individual site (Thank You) but now I want to use MainWP to update my sites and I have issued
So setup using your server on my repo server:
What ever plugins are checked it will check my server for them and allow me to update form my repo
This works fine when I am on Plugins or wp-admin/update-core.php, I can manually update them one at a time or all together from update-core.php
but something isn't quite right; you'll see below:
So when I am off it update-core is updated and ready to go with 4 plugins (a) but plugins say (b)
now when i try to update with MainWP it isn't working it only thinks there is one plugin with an update, it doesn't see any of my custom plugins allowing them to be updated and I can't get it to override another plugin as I can on the direct site;
So I am a bit lost how I can get this to work my update plugin code is below
My plugin can be seen here: https://github.com/stingray82/ninja-updater-pd/ any help on what I am missing as I would like to get it to work with WPMain?
The text was updated successfully, but these errors were encountered: