A simple WordPress plugin to allow single access to update themes and plugins.
It utilises the self-hosted version of https://github.com/YahnisElsts/plugin-update-checker
With a Backend of https://github.com/YahnisElsts/wp-update-server to supply updated files
This is was a Beta at best a proof of concept, I wished to build a full self-hosted repository for all my plugins and themes both made by me and commercial and this is the important first step
It now is working and I am updating it so others can build on it and use it
If this helps you, saves you time or allows your business to run better feel free to buy me a Coffee/Beer/Plugin
Download file and zip into a folder with the following file structure
-ninja-updater
--logs
--updates
--ninja-updater.php
As per any other WordPress Plugin
You need to edit Lines 28 and 46 so they point to your server so they read from this
'Your_Server_Goes_Here'.$slug_use,
TO THIS
'http://www.myservergoeshere.com'.$slug_use,
Once installed and activated you should be able to check for updates in the plugin screen as it adds a check plugin option for all plugins and you can also check all by going to the WordPress updates ('https://yoursite.co.uk/wp-admin/update-core.php'
Before installation of Ninja Updater
After installation of Ninja Updater
Make it update all plugins - Even commercial ones overriding there in build updates, which will make new site deployment so much fasterI will activate the GitHub updater for this plugin currently it checks is set up for a repository as its easier to test while I experiment with the code.Now Updates from the repository above no issuesUpdate all plugins without the addition to the pluginSee Exceptions
- Experiment with authorisation and api’s
- Speed Improvements
- Confirm automatic self-updating works
- Fix overridge of Wordpress.org
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to test as appropriate.
It now does themes, and plugins directly without modification to the plugins, there are some exceptions such as wp-smush-pro and I'd guess other WPMU DEV projects and other providers of commercial plugins who force login for updates.
wp-smush-pro fix - just remove the WPMU DEV dashboard and then rename or remove plugins/wp-smush-pro/core/external/dash-notice/wpmudev-dash-notification.php
Work by YahnisElsts MIT
YahnisElsts - It's your code I am just playing with it and thanks for the help!
PHP is not a language I really know so StackOverflow and php.net has been very helpful
Wordpress Website Design and Wordpress Hosting
Thanks for supplying the domains and hosting to work on this project at no cost to myself!