FIX: deprecation warning - initialization autoloaded the constant (#12400)

Get rid of deprecation related to Zeitwerk autoloader.

Original PR was reverted because of multisite bug #12381 - thank you @davidtaylorhq for fixing it.

I added the last commit to fix that multisite problem.
This commit is contained in:
Krzysztof Kotlarek
2021-03-16 09:47:57 +11:00
committed by GitHub
parent ddf8e9b6b6
commit e10a74694a
6 changed files with 169 additions and 150 deletions