noisysocks
9f065de733
Customize: Temporary fix for autosave restore notice not being removed
...
Fixes the "There is a more recent autosave of your changes" notice from not
being removed when the dismiss button is clicked.
The problem is caused by the notice being initialized twice: once by the
`common` script and then again by the `customize-controls` script.
This temporary fix prevents `customize-controls` from initializing a notice if
it has already been initialized.
A better fix would be to not initialize notices twice. This can be done by
removing `common` as a dependency of `updates` when `deprecateL10nObject` is
removed.
When this happens (est: 5.7), this temporary fix should be reverted.
Fixes #51425 .
See #51317 .
Props karthikbhatb, dlh, SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@49625
git-svn-id: http://core.svn.wordpress.org/trunk@49363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-17 04:45:11 +00:00
..
2020-11-12 22:37:10 +00:00
2020-11-02 19:46:14 +00:00
2020-11-16 22:31:06 +00:00
2020-11-17 04:45:11 +00:00
2020-06-22 21:26:16 +00:00
2020-10-29 18:03:11 +00:00
2020-02-06 06:33:11 +00:00
2020-11-09 10:53:10 +00:00
2020-10-15 02:00:08 +00:00
2020-01-29 00:45:18 +00:00
2020-02-06 06:33:11 +00:00
2020-10-29 18:03:11 +00:00
2020-02-06 06:33:11 +00:00
2020-07-22 12:56:04 +00:00
2020-10-08 21:15:13 +00:00
2020-11-16 22:42:04 +00:00
2020-09-18 10:37:08 +00:00
2020-08-04 17:35:06 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-07-10 11:36:07 +00:00
2020-10-23 16:01:15 +00:00
2020-09-18 10:37:08 +00:00
2020-09-24 03:00:08 +00:00
2020-09-18 10:37:08 +00:00
2020-07-04 09:33:01 +00:00
2020-10-17 16:05:09 +00:00
2020-10-23 17:19:14 +00:00
2020-10-23 17:19:14 +00:00
2020-10-04 03:23:09 +00:00
2020-07-14 11:17:04 +00:00
2020-05-12 18:32:08 +00:00
2020-08-04 17:35:06 +00:00
2020-07-20 23:14:05 +00:00
2020-11-10 19:05:10 +00:00
2020-05-12 18:40:07 +00:00
2020-06-26 00:27:09 +00:00
2020-02-06 06:33:11 +00:00
2020-10-23 17:19:14 +00:00
2020-07-05 15:22:01 +00:00
2020-10-18 17:27:06 +00:00
2020-05-26 09:37:10 +00:00
2020-05-26 09:37:10 +00:00
2020-10-29 18:03:11 +00:00
2020-10-08 21:15:13 +00:00
2020-05-26 09:37:10 +00:00
2020-10-18 17:27:06 +00:00
2020-04-20 08:39:06 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-09-30 21:54:07 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-05-12 18:32:08 +00:00
2020-10-23 15:05:09 +00:00
2020-05-23 11:38:08 +00:00
2020-07-23 03:14:06 +00:00
2020-09-18 10:37:08 +00:00
2019-08-16 00:39:55 +00:00
2020-06-01 11:22:13 +00:00
2020-08-02 12:57:08 +00:00
2020-10-04 03:23:09 +00:00
2020-10-23 18:07:13 +00:00
2020-06-26 19:38:06 +00:00
2020-07-23 03:14:06 +00:00
2020-10-18 17:27:06 +00:00
2020-07-03 08:51:05 +00:00
2020-10-23 17:19:14 +00:00
2020-05-16 18:42:12 +00:00
2020-10-11 13:39:07 +00:00
2020-02-06 06:33:11 +00:00
2020-10-04 03:23:09 +00:00
2020-10-20 01:47:06 +00:00
2020-02-06 06:33:11 +00:00
2020-11-09 10:53:10 +00:00
2020-06-22 21:26:16 +00:00
2020-06-30 13:26:03 +00:00
2020-11-08 09:52:10 +00:00
2020-04-05 03:02:11 +00:00
2020-10-18 17:27:06 +00:00
2020-07-27 15:04:03 +00:00
2020-07-29 20:01:08 +00:00
2020-03-03 00:50:06 +00:00
2020-11-13 16:57:13 +00:00
2020-07-10 06:08:06 +00:00
2020-02-06 06:33:11 +00:00
2020-06-26 00:27:09 +00:00
2020-10-23 17:19:14 +00:00
2020-11-12 18:14:08 +00:00
2020-10-24 12:49:05 +00:00
2020-10-23 17:19:14 +00:00
2020-10-09 15:53:08 +00:00