Sorry, that's kind of silly. WordPress can be incredibly frustrating, for sure, but there's a multitude of migration, deployment, and local development options.
We use Roots tools exclusively -
However, this has some consequences: Clients expect that there is a free or cheap plugin that will solve every single problem. And they often install dozens of them to try to solve it themselves. Maintaining a client site after it has been online for more than a few months is often very painful for a developer: plugins bring style overrides, sometimes break your routing, often miss translation.
Also, a professional Wordpress instance is far from free: you need ACF Pro for good custom fields, Admin Columns Pro to get a useable backend, Relevanssi Pro for proper search, WP Migrate Pro for migration. And you quickly end up with 500$ for a basic setup. And recurring fees. Yes, there are free alternative, but they are not always reliable (I so often had issues with Wordmove migrations...)
As nice as Wordpress is for the editor, it is no fun for the developer and designer: you can get separation of concerns (and Twig templating) with Timber but its nowhere near supporting all functions (password protection does not work, for example). Also, no underlying framework makes creating and working with plugins guesswork.
PHP is a good choice for CMS, but Craft (Yii) or the excellent open source Bolt CMS (Symfony, Twig) bring joy to all involved - editors, designers, coders.
Contrast to many 'better built' frameworks which require you to know more than basic copy and pasting/very old school procedural programming and you've got a system which while less liked by professionals/experts is exactly what your amateur coder or hobbyist wants/can easily get used to.
Kind of like why HTML 5 won out over XML in the end. Because one was simple enough to get used to and met average Joe's needs and one was a bit of a pain in the ass that only 'experts' were patient enough to use.
So yeah, it doesn't follow a lot of recommended patterns and has an archaic coding style and all that, but it comes with the plus side that it's easier to develop stuff for.