1Just Press Update?
"Just upgrade PHP, press the update button and fix any bugs." Conversations about WordPress upgrades sometimes start this way.
The admin screen has an update button, and pressing it gives you the new version. It is natural for this to look easy.
For a site that has gone without updates or maintenance for a long time, however, an update becomes system modification work.
- Upgrade PHP
- Press the update button
- Fix any bugs
- Analyze the source code and database
- Study the updated core, theme and plugins
- Build a test environment
- Check compatibility and modify
- Verify data and screens
- Release to production
2A System Made of Many Parts
A WordPress site is not just the core. A theme for the look, plugins for features and project-specific customizations all run on top of one another, and they often come from different developers.
Sites that have gone without updates or maintenance for a long time often look like this.
Nothing remains that describes how the whole site is built
No one knows which plugin or theme relies on which
Abandoned plugins and libraries are still in use
No one knows who changed what, or why. The person in charge is gone
There is no standard for what "working correctly" means
At that point it is, in effect, a large legacy system.
3The Database Alone Cannot Tell You What the Data Is For
The tables provided by WordPress core are general-purpose ones for posts, settings and so on. Plugins can store their own metadata in them or add tables of their own.
wp_postsPosts and pagesBookingsInquirieswp_postmetaPost metadataTheme fieldsProduct datawp_optionsSite settingsPlugin settingswp_xxx_membersMembership pluginwp_yyy_logsForm pluginwp_zzz_dataPurpose unknownA single setting value may even hold a large amount of information as a PHP array converted to a string (serialized). Table definitions alone do not reveal the logical structure of the data.
Which data is used by which feature only becomes clear by tracing the code.
4Diagnosis Has to Cover the "After" State
With a custom-built PHP system, analyzing the current source code gives a fair idea of the scope, because it can be compared against the changes in PHP.
That is not enough for WordPress. Core, theme and plugins all change when updated.
The look of the site, the number of pages and a list of plugins cannot identify what will be affected. Without investigation, even a rough estimate is hard to give.
The investigation needed for an estimate is itself system analysis work.
5Summary
WordPress is easy to start. A site that has had parts added and has been run for years does not stay easy.
Behind the update button is an entire system.
The longer an update is postponed, the larger the differences to investigate. Even just listing the parts currently running is a useful next step.
Updating a long-running WordPress site can turn into a major system overhaul.
And it can cost more than you might expect… 🥴