Sergey Biryukov
23528d419a
Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5.
...
The recommended approach for any plugins using these globals or properties is to switch to the newer `wp.i18n` functions.
In the meantime, this ensures that accessing any of these globals does not break the rest of the code on the page, and an appropriate warning message is logged to the JavaScript console.
Follow-up to: https://core.trac.wordpress.org/query?summary=~wp.i18n&milestone=5.5
Props omarreiss, peterwilsoncc, kbjohnson90, johnbillion, TimothyBlynJacobs, joostdevalk, ocean90, desrosj, SergeyBiryukov.
Fixes #51123 .
git-svn-id: https://develop.svn.wordpress.org/trunk@48923 602fd350-edb4-49c9-b593-d223f7449a82
2020-08-31 20:28:41 +00:00
..
2020-08-27 16:34:37 +00:00
2020-08-26 13:32:05 +00:00
2020-07-27 20:08:53 +00:00
2020-08-01 14:07:29 +00:00
2020-07-17 17:09:37 +00:00
2020-08-20 13:11:36 +00:00
2020-07-17 17:09:37 +00:00
2020-07-02 15:46:17 +00:00
2020-05-21 09:08:52 +00:00
2020-07-05 15:20:16 +00:00
2020-06-15 14:54:23 +00:00
2020-08-10 11:32:01 +00:00
2020-06-22 17:24:34 +00:00
2020-08-22 01:52:42 +00:00
2020-05-01 14:24:42 +00:00
2020-08-21 22:30:06 +00:00
2020-06-22 17:24:34 +00:00
2020-06-15 14:54:23 +00:00
2020-07-03 23:40:45 +00:00
2020-08-11 00:32:22 +00:00
2020-07-23 19:59:16 +00:00
2020-07-05 15:20:16 +00:00
2020-07-23 07:37:57 +00:00
2020-07-27 15:12:13 +00:00
2020-08-15 13:38:52 +00:00
2020-07-23 19:59:16 +00:00
2020-07-23 21:53:43 +00:00
2020-06-10 09:55:56 +00:00
2020-07-23 19:59:16 +00:00
2020-08-27 01:28:24 +00:00
2020-07-28 15:40:35 +00:00
2020-07-26 17:16:32 +00:00
2020-07-23 21:53:43 +00:00
2020-02-06 06:31:22 +00:00
2020-07-26 22:43:47 +00:00
2020-02-06 06:31:22 +00:00
2019-11-02 20:11:20 +00:00
2020-02-06 06:31:22 +00:00
2019-11-01 14:55:51 +00:00
2020-07-21 12:56:40 +00:00
2020-05-01 20:10:58 +00:00
2020-06-03 17:38:56 +00:00
2020-06-03 17:38:56 +00:00
2020-06-12 21:40:52 +00:00
2020-05-01 19:05:04 +00:00
2020-05-16 18:40:52 +00:00
2020-08-19 02:25:13 +00:00
2020-01-29 00:43:23 +00:00
2020-05-16 18:40:52 +00:00
2020-08-19 02:44:38 +00:00
2020-06-28 14:00:26 +00:00
2020-06-25 05:14:43 +00:00
2020-06-24 12:57:12 +00:00
2020-07-07 09:28:19 +00:00
2020-06-28 11:51:29 +00:00
2020-07-26 22:15:20 +00:00
2020-07-02 11:28:13 +00:00
2020-06-30 11:02:22 +00:00
2020-08-21 21:32:49 +00:00
2020-04-17 19:33:52 +00:00
2020-07-14 11:54:26 +00:00
2020-08-20 13:11:36 +00:00
2020-07-26 10:49:07 +00:00
2020-06-20 13:16:45 +00:00
2020-02-27 20:27:45 +00:00
2020-07-23 21:09:04 +00:00
2020-07-23 07:37:57 +00:00
2020-07-23 19:59:16 +00:00
2020-07-23 00:46:56 +00:00
2020-07-23 19:59:16 +00:00
2020-07-23 19:59:16 +00:00
2020-07-23 19:59:16 +00:00
2020-05-30 15:11:02 +00:00
2020-02-09 16:52:28 +00:00
2020-07-23 07:37:57 +00:00
2020-07-23 19:59:16 +00:00
2020-06-28 11:47:45 +00:00
2020-07-23 19:59:16 +00:00
2020-06-26 18:38:51 +00:00
2020-07-23 19:59:16 +00:00
2019-10-12 18:03:22 +00:00
2020-07-23 19:59:16 +00:00
2020-08-16 13:31:57 +00:00
2020-08-16 13:31:57 +00:00
2020-07-23 19:59:16 +00:00
2020-07-10 12:44:38 +00:00
2020-05-16 18:40:52 +00:00
2020-06-20 12:57:00 +00:00
2020-07-14 12:08:28 +00:00
2020-02-01 20:30:20 +00:00
2020-08-11 00:32:22 +00:00
2020-01-29 00:43:23 +00:00
2020-06-20 12:00:07 +00:00
2020-07-21 12:01:10 +00:00
2020-08-12 15:23:47 +00:00
2020-06-20 11:16:12 +00:00
2020-07-13 22:08:16 +00:00
2020-08-18 12:37:39 +00:00
2020-08-11 00:32:22 +00:00
2020-08-11 00:32:22 +00:00
2020-06-19 22:53:54 +00:00
2020-08-11 00:32:22 +00:00
2020-08-11 00:32:22 +00:00
2020-07-23 19:04:38 +00:00
2020-07-23 00:50:57 +00:00
2020-07-23 19:59:16 +00:00
2020-08-12 15:03:50 +00:00
2020-01-29 00:43:23 +00:00
2020-02-09 16:52:28 +00:00
2020-08-11 00:32:22 +00:00
2020-07-14 12:08:28 +00:00
2020-07-07 00:53:41 +00:00
2020-08-11 00:32:22 +00:00
2020-07-23 19:59:16 +00:00
2020-07-23 21:09:04 +00:00
2020-07-23 21:09:04 +00:00
2020-03-23 20:18:15 +00:00
2020-07-23 21:53:43 +00:00
2020-07-23 21:09:04 +00:00
2020-01-29 00:43:23 +00:00
2020-07-23 13:48:37 +00:00
2020-07-23 21:09:04 +00:00
2020-07-23 21:09:04 +00:00
2020-05-06 16:25:09 +00:00
2020-08-27 21:57:01 +00:00
2020-05-06 16:25:09 +00:00
2020-08-31 18:28:42 +00:00
2020-08-19 01:55:12 +00:00
2020-06-20 12:38:55 +00:00
2020-08-11 00:32:22 +00:00
2020-02-06 06:31:22 +00:00
2020-07-07 12:55:26 +00:00
2020-07-21 15:36:17 +00:00
2020-02-06 06:31:22 +00:00
2020-08-16 13:31:57 +00:00
2020-02-06 06:31:22 +00:00
2020-07-30 19:12:02 +00:00
2020-06-20 11:16:12 +00:00
2020-02-09 16:52:28 +00:00
2020-01-29 00:43:23 +00:00
2020-01-29 00:43:23 +00:00
2020-07-23 19:04:38 +00:00
2020-01-29 00:43:23 +00:00
2020-01-29 00:43:23 +00:00
2020-07-11 12:12:46 +00:00
2020-08-18 15:08:19 +00:00
2020-08-15 13:38:52 +00:00
2020-07-23 21:09:04 +00:00
2020-06-17 10:14:36 +00:00
2020-08-31 18:28:42 +00:00
2020-06-22 17:24:34 +00:00
2020-07-23 00:46:56 +00:00
2020-06-23 10:00:36 +00:00
2020-07-23 21:09:04 +00:00
2020-08-27 21:37:33 +00:00
2019-10-08 17:17:07 +00:00
2020-07-25 21:30:32 +00:00
2020-08-28 16:43:31 +00:00
2020-08-10 15:48:25 +00:00
2020-07-05 14:44:37 +00:00
2020-06-20 12:38:55 +00:00
2020-07-05 11:19:35 +00:00
2020-06-22 21:24:44 +00:00
2020-02-09 16:52:28 +00:00
2020-07-24 17:38:27 +00:00
2020-06-05 09:11:20 +00:00
2020-06-20 12:00:07 +00:00
2020-05-16 18:40:52 +00:00
2020-07-28 10:13:50 +00:00
2020-07-08 13:13:50 +00:00
2020-08-15 13:44:00 +00:00
2020-07-23 21:09:04 +00:00
2020-01-11 18:30:58 +00:00
2020-07-27 20:17:36 +00:00
2020-07-05 21:07:48 +00:00
2020-06-28 11:47:45 +00:00
2020-07-23 00:50:57 +00:00
2020-07-05 10:15:40 +00:00
2020-08-19 13:38:56 +00:00
2020-07-10 20:21:01 +00:00
2019-10-08 17:17:07 +00:00
2019-10-08 17:17:07 +00:00
2020-08-27 02:55:39 +00:00
2020-07-23 21:53:43 +00:00
2020-07-30 19:12:02 +00:00
2020-02-06 06:31:22 +00:00
2020-07-05 15:20:16 +00:00
2020-08-31 20:28:41 +00:00
2020-02-06 06:31:22 +00:00
2020-07-23 21:09:04 +00:00
2020-08-27 01:28:24 +00:00
2020-08-23 00:06:04 +00:00
2020-05-26 09:35:34 +00:00
2020-07-07 11:00:21 +00:00
2020-08-07 19:41:16 +00:00
2020-08-11 00:32:22 +00:00
2020-08-11 00:32:22 +00:00
2020-01-29 00:43:23 +00:00
2020-08-07 16:30:32 +00:00
2020-08-21 21:49:02 +00:00
2020-07-23 21:53:43 +00:00
2020-02-06 06:31:22 +00:00