I’ve got this strange wordpress upgrade problem where in wp-admin, it knows that there’s a new version and prompts me to update but it won’t upgrade itself even after I’ve unzipped and replace all the files with the newer version’s and browse to wp-admin/upgrade.php. So here’s the solution if you’ve met something similar.
Backup your database before proceeding since this involves deleting a record in one of wordpress database table.
1. The thing that I’ve found out is that wordpress uses a option value to store information about its version.
2. That piece of information is stored in the database. Use phpMyAdmin (most linux hosting with cpanel should have that) and in the db table wp_options, search for record with the option_name of update_core.
3. Delete that record. Yes, delete it. Or rename the option_name if you’re really scared about deleting it.
4. Go back to wp-admin/upgrade.php. WordPress should now prompt you to upgrade your database. After it’s finished and you look back to your wp_options table, there will now be a new update_core record.
Problem solved 🙂