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

return: array The test results.
since: 5.2.0

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

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

return: array The test results.
since: 5.2.0

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

return: array The test results.
since: 5.2.0

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

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

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

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

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

return: array The test results.
since: 5.2.0

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

return: array The test results.
since: 5.2.0

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

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

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

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

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

return: array The test results.
since: 5.2.0



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1