[ 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: 452 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.

return: {boolean}
param: {Object} issue
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: Sat Nov 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1