WordPress/wp-content/themes/twentytwentyone/inc
audrasjb 5c07bc0b59 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.

Built from https://develop.svn.wordpress.org/trunk@53121


git-svn-id: http://core.svn.wordpress.org/trunk@52710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-10 22:29:03 +00:00
..
back-compat.php Twenty Twenty-One: Correct @since inline documentation tags. 2020-12-17 14:57:07 +00:00
block-patterns.php Twenty Twenty One: Prevent loading translation file twice. 2022-04-10 22:29:03 +00:00
block-styles.php Twenty Twenty-One: Correct @since inline documentation tags. 2020-12-17 14:57:07 +00:00
custom-css.php Twenty Twenty-One: Improve documentation per the documentation standards: 2021-07-01 12:59:57 +00:00
menu-functions.php Twenty Twenty-One: Keep the closing </span> tag in footer links. 2021-10-02 17:06:00 +00:00
starter-content.php Twenty Twenty-One: Correct accent marks in block pattern alt text. 2021-02-12 00:03:04 +00:00
template-functions.php Twenty Twenty-One: Prevent notice thrown in twenty_twenty_one_get_attachment_image_attributes(). 2021-11-19 17:56:00 +00:00
template-tags.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00