wordpress-develop/src/js
Marius L. J 337fcf6edd Site Health: Remove Ajax requests from dashboard widget.
The Site Health dashboard widget uses the same JavaScript file as the Site Health pages to generate its progress indicator.

This file was also set up to store the current Site Health check results if the current tab being shown isn't the debug information one, this had the side effect of the dashboard being seen as not the debug screen as well.

This now has a conditional making sure it's the status screen it self being displayed, before trying to do any Ajax requests.

Props arena.
Fixes #49814.

git-svn-id: https://develop.svn.wordpress.org/trunk@50766 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-17 11:27:35 +00:00
..
_enqueues Site Health: Remove Ajax requests from dashboard widget. 2021-04-17 11:27:35 +00:00
media External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 18:59:34 +00:00