LLMs should find (and be able to remediate) SQL injection in PHP very easily, I would think. Not really any excuse for it not getting done.
While I'm not a PHP person, I do know there's very capable enterprise level things going on with it like other languages and frameworks.
From the wordpress side, there may be a bit of a reckoning where the shared web hosts haven't kept their setup secure. Most users should find a way to independently backup their websites.
If only we had a technology that could read those old modules and rewrite them using modern coding standards and up to date libraries. Shucks...