[wp-trac] [WordPress Trac] #49814: health-check-site-status-result ajax requestS on dashboard

WordPress Trac noreply at wordpress.org
Sat Apr 17 11:27:51 UTC 2021


#49814: health-check-site-status-result ajax requestS on dashboard
--------------------------+-----------------------------
 Reporter:  arena         |       Owner:  Clorith
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.8
Component:  Site Health   |     Version:  5.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by Clorith):

 * owner:  (none) => Clorith
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50766" 50766]:
 {{{
 #!CommitTicketReference repository="" revision="50766"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49814#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list