“WordPress takes care of 80-90% of the mechanics of Search Engine Optimization (SEO)”
Agencies really latched onto that!
SEO was the new hotness.
An industry was then built around WordPress.
Clients would hear that it was the best at SEO, and they wanted a CMS they could update themselves.
Agencies could churn out variations of the same WordPress site and plugin stack, and then charge clients for ongoing hosting and maintenance fees to keep it updated.
Then there are all the plugins that get added depending on the whims of the 'developer' at the time.
The WordPress website then languishes when the agency or dev vanishes, WordPress gets hacked, and the client gets charged again.
The WP GUI builder plugins are a whole separate hellscape all to themselves!
So because the majority of users are not savvy, it's become a cesspool. Then you read about it on a tech forum like HN and it is derided as an inferior product rather than allowing improper use by the user/operator.
It's not only the non-tech-savvy, even CS guys become trash when they go too close to WP
Its quality is astonishingly bad. It was clearly developed by someone who didn't even have a basic understanding of relational databases. Unless something has changed, plugins and themes can run arbitrary PHP on the server.
Anything ubiquitous is going to be hated. I agree. But WordPress is bad from a fundamentals perspective.
But I've been writing web software for 30 years and WordPress is among the worst mainstream applications. It's worse than its PHP competitors at the time, and it's worse than Ghost and many of the competitors that came after it.
You can't just dismiss all criticism of the past because it was the past. Some people wrote worse software than others in the past, just as they do today.
And as worse is better predicted, all new ones went insecure, with less features, but nicer looking themes.
I don't particularly love PHP, but you don't need to touch it if you don't try to write any plugins. Yes, some of its practices are pretty wacky, like every plugin has full access to the filesystem and database to do basically anything, and the system expects to be able to update code files in place from web requests, but meh, just give it it's own $5 server and let it do its thing, and definitely be very careful which plugins you use and how you get them.
What you get in return for this is a perfectly fine CMS that anyone with basic computer skills can run. Yeah, static site generators are cool and all that from a tech expert's perspective, but nobody who isn't a tech expert can actually do anything with them, and oh, by the way, the ability to make any changes at all typically involves at the very least SSH access to the host server with full write permissions.
For example, I notice that most of the automated "attacks" on my server are WordPress related. Is its defect rate significantly higher than other systems', or is it just that if you're going fishing you should bait for the most common fish? PHP and Apache come up a lot too.