Twenty Twenty One: Prevent loading translation file twice.

This changes wraps the registration of patterns and pattern categories in a function hooked to `init`, to avoid loading the Twenty Twenty One translation file twice.

Props zodiac1978, sabernhardt, audrasjb.
Fixes #53589.


git-svn-id: https://develop.svn.wordpress.org/trunk@53121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-04-10 22:27:05 +00:00
parent 09f7209dc6
commit ede9cc629d

File diff suppressed because one or more lines are too long