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

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

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

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

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 Mar 19 01:00:02 2024 Cross-referenced by PHPXref 0.7.1