This project helps you update WordPress (WP) automatically. It does this by parsing a file that contains WP URLs with their corresponding username and password, then simulate the following for each data set:
- Opens a browser
- Logs in to WP dashboard
- Checks to see if any of core, plugin, and theme updates are available — if yes do update
- Logs out from the dashboard
- Python 3 or above
- Pipenv
- ChromeDriver
-
Download and extract the zip file or use Git to clone this repository.
-
Inside the directory open a terminal and run:
pipenv install
-
Edit wpupdater.py and set
CHROMEDRIVER_PATH
to your driver's executable path. -
Rename test_accounts.csv to remove test_ then update its contents for the appropriate data.
-
On the terminal run:
pipenv shell python wpupdater.py
Herbert Verdida / @bertdida