i haven't done wordpress in 5+ years but oh my god it had everything that's bad about php in it.
I wouldn't be shocked if Wordpress has singlehandedly tarnished the reputation of PHP in general
Writing modern php 7.2+ and creating a WordPress plugin is akin to time traveling. The experience in WordPress is not so great but they have a commitment to backwards compatibility. So I get it. But ya, I agree with this statement.
Wordpress is no doubt a powerful force on the web. As a no-code website-creation environment, it's fine. Maybe even good. But as a library, it is godawful.