[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/js/ -> site-health.js (summary)

Interactions used by the Site Health modules in WordPress.

File Size: 482 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions

  validateIssueData()
  appendIssue()
  recalculateProgression()
  maybeRunNextAsyncTest()
  addFailedSiteHealthCheckNotice()
  getDirectorySizes()
  updateDirSizes()
  announceTestsProgression()

Functions
Functions that are not part of a class:

validateIssueData( issue )   X-Ref
Validates the Site Health test result format.

return: {boolean}
param: {Object} issue

appendIssue( issue )   X-Ref
Appends a new issue to the issue list.

param: {Object} issue The issue data.

recalculateProgression()   X-Ref
Updates site health status indicator as asynchronous tests are run and returned.


maybeRunNextAsyncTest()   X-Ref
Queues the next asynchronous test when we're ready to run it.


addFailedSiteHealthCheckNotice( url, description )   X-Ref
Add the details of a failed asynchronous test to the list of test results.


getDirectorySizes()   X-Ref
No description

updateDirSizes( data )   X-Ref
No description

announceTestsProgression( type )   X-Ref
Announces to assistive technologies the tests progression status.

return: {void}
param: {string} type The type of message to be announced.



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref