Before you push the staging website to live with WP Staging Pro it’s necessary that the WordPress version on live and staging site are both identical.
If you are not able to automatically update WordPress because you do not get the WordPress update notification or due to any other reason, you can update WordPress manually by following the steps below:
1. Back up WordPress
Before you update WordPress it’s recommended to create a backup of your entire website.
2. Get WordPress Install Files
Download the zip file of latest WordPress version.
Do you plan to update to an older WordPress version?
You can find all WordPress releases here
Extract the zip file that you’ve downloaded.
3. Disable Plugins
Most of the time nothing happens if you keep plugins activated while updating WordPress but it is recommended if you plan to update WordPress on your production site.
You can skip that step if you update WordPress on your staging site.
If there should be an error in one of your plugins you can disable that plugin afterward and you need to be worried that anything on your live site would break.
4. Delete WordPress Core Folders
Delete the Folders wp-includes
and wp-admin
on your web server and use FTP. (cPanel File Manager or Filezilla FTP client)
5. Upload WordPress Core Folders
Upload the folders wp-includes
and wp-admin
from the downloaded and extracted new WordPress and use FTP or any other file manager. Upload them in place of the previously deleted folders.
Do not upload the folder wp-content
! This folder contains your media folders and you should not touch it.
Do not delete any data in your wp-content
directory!
6. Upload WordPress Root Files
Upload all new single files from the root of the extracted WordPress zip file and upload it to the root of your web host and use FTP or another file manager.
7. Update WordPress Database
Visit your WordPress admin dashboard and open
https://opening example.com/wp-admin
If there is a database update necessary WordPress will lead you to an upgrade function. Confirm this and let WordPress update the database automatically.
Activate again your plugins after doing that!
More detailed installation instruction is available from:
https://codex.wordpress.org/Upgrading_WordPress#Manual_Update