[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-wp-site-health-auto-updates.php (summary)

(no description)

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

Defines 1 class

WP_Site_Health_Auto_Updates:: (12 methods):
  __construct()
  run_tests()
  test_constants()
  test_wp_version_check_attached()
  test_filters_automatic_updater_disabled()
  test_wp_automatic_updates_disabled()
  test_if_failed_update()
  test_vcs_abspath()
  test_check_wp_filesystem_method()
  test_all_files_writable()
  test_accepts_dev_updates()
  test_accepts_minor_updates()


Class: WP_Site_Health_Auto_Updates  - X-Ref

Class for testing automatic updates in the WordPress code.

__construct()   X-Ref
WP_Site_Health_Auto_Updates constructor.

since: 5.2.0

run_tests()   X-Ref
Run tests to determine if auto-updates can run.

since: 5.2.0
return: array The test results.

test_constants( $constant, $value )   X-Ref
No description

test_wp_version_check_attached()   X-Ref
Check if updates are intercepted by a filter.

since: 5.2.0
return: array The test results.

test_filters_automatic_updater_disabled()   X-Ref
Check if automatic updates are disabled by a filter.

since: 5.2.0
return: array The test results.

test_wp_automatic_updates_disabled()   X-Ref
Check if automatic updates are disabled.

since: 5.3.0
return: array|false The test results. False if auto-updates are enabled.

test_if_failed_update()   X-Ref
Check if automatic updates have tried to run, but failed, previously.

since: 5.2.0
return: array|false The test results. False if the auto-updates failed.

test_vcs_abspath()   X-Ref
Check if WordPress is controlled by a VCS (Git, Subversion etc).

since: 5.2.0
return: array The test results.

test_check_wp_filesystem_method()   X-Ref
Check if we can access files without providing credentials.

since: 5.2.0
return: array The test results.

test_all_files_writable()   X-Ref
Check if core files are writable by the web user/group.

since: 5.2.0
return: array|false The test results. False if they're not writeable.

test_accepts_dev_updates()   X-Ref
Check if the install is using a development branch and can use nightly packages.

since: 5.2.0
return: array|false The test results. False if it isn't a development version.

test_accepts_minor_updates()   X-Ref
Check if the site supports automatic minor updates.

since: 5.2.0
return: array The test results.



Generated: Tue Apr 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1