[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Interactions used by the Site Health modules in WordPress.

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

Defines 7 functions

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

Functions
Functions that are not part of a class:

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

param: {Object} issue
return: {boolean}
since: 5.6.0

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

param: {Object} issue The issue data.
since: 5.2.0

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

since: 5.2.0

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

since: 5.2.0

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

since: 5.6.0

getDirectorySizes()   X-Ref
No description

updateDirSizes( data )   X-Ref
No description



Generated: Tue Nov 24 01:00:03 2020 Cross-referenced by PHPXref 0.7.1