Pascal Birchler
fba12b6eed
I18N: Change how WP_Textdomain_Registry caches translation information.
...
`WP_Textdomain_Registry` was introduced in [53874] and later adjusted in [54682] to store text domains and their language directory paths, addressing issues with just-in-time loading of textdomains when using locale switching and `load_*_textdomain()` functions.
This change improves how the class stores information about all existing MO files on the site, addressing an issue where translations are not loaded after calling `switch_to_locale()`.
Props johnbillion, ocean90, SergeyBiryukov.
Fixes #57116 .
git-svn-id: https://develop.svn.wordpress.org/trunk@55010 602fd350-edb4-49c9-b593-d223f7449a82
2022-12-20 15:10:35 +00:00
..
2022-11-11 12:44:54 +00:00
2022-04-12 09:24:51 +00:00
2022-11-24 22:50:16 +00:00
2022-11-11 16:32:51 +00:00
2022-10-25 12:17:55 +00:00
2022-11-24 14:16:18 +00:00
2022-10-04 02:06:29 +00:00
2022-12-08 19:29:51 +00:00
2022-12-06 12:17:12 +00:00
2022-12-12 20:19:49 +00:00
2022-02-16 21:17:04 +00:00
2022-12-19 15:10:20 +00:00
2022-12-14 14:29:55 +00:00
2021-12-20 19:31:37 +00:00
2022-12-16 10:41:31 +00:00
2022-09-26 13:58:53 +00:00
2022-10-11 14:58:03 +00:00
2022-03-22 16:23:32 +00:00
2022-11-26 20:59:05 +00:00
2022-09-26 22:41:11 +00:00
2022-11-29 15:49:49 +00:00
2022-04-21 11:22:45 +00:00
2022-09-20 16:24:56 +00:00
2022-11-09 09:49:51 +00:00
2022-09-20 16:27:44 +00:00
2022-12-15 22:53:43 +00:00
2022-11-11 16:24:47 +00:00
2022-10-16 15:44:18 +00:00
2022-06-23 22:55:41 +00:00
2022-08-30 15:14:04 +00:00
2022-10-10 18:20:28 +00:00
2022-10-10 18:20:28 +00:00
2022-11-10 02:59:56 +00:00
2022-11-29 15:49:49 +00:00
2022-11-29 15:49:49 +00:00
2022-08-04 14:50:27 +00:00
2022-06-17 11:18:37 +00:00
2022-11-07 13:33:11 +00:00
2022-06-17 11:18:37 +00:00
2022-11-09 09:17:16 +00:00
2022-12-15 21:30:26 +00:00
2021-12-24 18:04:10 +00:00
2022-01-30 19:23:25 +00:00
2022-01-30 19:23:25 +00:00
2022-01-30 19:23:25 +00:00
2022-09-15 12:30:54 +00:00
2022-05-01 21:59:49 +00:00
2022-01-30 19:23:25 +00:00
2022-11-29 15:49:49 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-20 15:14:54 +00:00
2022-09-12 15:45:36 +00:00
2022-11-16 16:34:29 +00:00
2022-09-12 15:45:36 +00:00
2022-10-11 18:43:52 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-29 20:58:26 +00:00
2022-11-23 21:28:15 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-12-05 21:29:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-08 13:27:23 +00:00
2022-11-25 15:10:48 +00:00
2022-11-25 15:10:48 +00:00
2022-11-29 15:49:49 +00:00
2022-09-26 22:41:11 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-21 21:10:29 +00:00
2022-12-15 21:30:26 +00:00
2022-12-15 21:30:26 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-12-15 21:30:26 +00:00
2022-09-19 22:51:53 +00:00
2022-09-19 22:51:53 +00:00
2022-10-07 19:15:59 +00:00
2022-11-17 18:13:47 +00:00
2022-12-20 15:10:35 +00:00
2022-11-23 21:28:15 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-18 18:14:01 +00:00
2022-09-20 14:24:08 +00:00
2022-09-26 22:08:29 +00:00
2022-11-13 13:49:16 +00:00
2022-11-29 15:49:49 +00:00
2022-09-12 15:45:36 +00:00
2022-09-26 22:08:29 +00:00
2022-09-12 15:45:36 +00:00
2022-12-13 12:24:17 +00:00
2022-10-04 03:57:29 +00:00
2022-12-17 15:29:25 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-04 22:59:58 +00:00
2022-09-12 15:45:36 +00:00
2022-10-24 14:54:08 +00:00
2022-09-28 22:17:38 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-18 18:14:01 +00:00
2022-09-12 15:45:36 +00:00
2022-09-28 14:57:55 +00:00
2022-11-23 21:28:15 +00:00
2022-11-26 09:37:18 +00:00
2022-11-23 21:28:15 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-29 15:49:49 +00:00
2022-12-20 15:10:35 +00:00
2022-10-11 14:58:03 +00:00
2022-11-11 17:49:28 +00:00
2022-09-12 15:45:36 +00:00
2022-12-20 13:55:25 +00:00
2022-09-20 01:34:49 +00:00
2022-11-08 17:29:48 +00:00
2022-09-12 15:45:36 +00:00
2022-11-29 15:49:49 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-26 09:37:18 +00:00
2022-10-18 16:09:50 +00:00
2022-12-08 17:26:17 +00:00
2022-09-20 14:15:25 +00:00
2022-09-20 14:15:25 +00:00
2022-09-20 14:15:25 +00:00
2022-12-12 11:49:40 +00:00
2022-11-29 15:49:49 +00:00
2022-11-17 18:13:47 +00:00
2022-10-12 11:51:18 +00:00
2022-06-17 11:18:37 +00:00
2022-09-20 01:34:49 +00:00
2022-12-16 02:38:10 +00:00
2022-12-15 21:30:26 +00:00
2022-06-17 11:18:37 +00:00
2022-08-19 22:05:00 +00:00
2022-04-29 19:15:57 +00:00
2022-11-26 20:59:05 +00:00
2021-11-29 09:50:13 +00:00
2022-06-20 21:44:27 +00:00
2022-12-03 15:05:41 +00:00
2022-12-15 21:30:26 +00:00
2022-12-04 12:44:21 +00:00
2022-12-04 12:46:09 +00:00
2022-12-04 13:20:50 +00:00
2022-10-27 15:39:20 +00:00
2022-12-15 21:30:26 +00:00
2022-08-11 14:09:04 +00:00
2022-12-05 13:55:20 +00:00
2022-12-06 13:01:16 +00:00
2022-12-06 21:16:09 +00:00
2022-12-06 21:31:33 +00:00
2022-10-17 11:24:08 +00:00
2022-11-11 00:59:20 +00:00
2022-10-13 17:22:59 +00:00
2022-12-06 22:14:40 +00:00
2022-07-14 13:33:12 +00:00
2022-09-20 02:49:25 +00:00
2022-12-09 11:52:58 +00:00
2022-12-09 11:52:58 +00:00
2022-11-29 15:49:49 +00:00
2022-10-18 18:14:01 +00:00
2022-12-07 21:17:52 +00:00
2022-12-18 23:59:51 +00:00
2022-12-14 22:52:11 +00:00
2022-12-09 11:52:58 +00:00
2022-12-09 00:22:14 +00:00
2022-08-01 11:13:13 +00:00
2022-12-12 11:15:12 +00:00
2022-03-15 15:20:12 +00:00
2022-12-13 00:01:08 +00:00
2022-12-13 12:24:17 +00:00
2022-12-15 21:30:26 +00:00
2022-11-24 14:16:18 +00:00
2022-12-15 11:01:34 +00:00
2022-04-06 15:31:23 +00:00
2022-03-22 16:23:32 +00:00
2022-11-10 11:31:15 +00:00
2022-09-26 22:41:11 +00:00
2022-09-14 12:46:33 +00:00
2022-11-17 18:13:47 +00:00
2021-12-10 20:28:27 +00:00
2022-11-02 19:50:11 +00:00
2022-09-21 11:41:44 +00:00
2022-11-11 16:24:47 +00:00
2022-09-14 18:42:04 +00:00
2022-11-29 15:49:49 +00:00
2022-11-29 15:49:49 +00:00
2022-12-09 11:52:58 +00:00
2022-04-27 13:45:57 +00:00
2022-10-18 20:03:57 +00:00
2022-10-17 12:39:40 +00:00
2022-07-21 22:43:24 +00:00