[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

(no description)

File Size: 458 lines (14 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 4 files
 wp-admin/includes/class-wp-upgrader.php
 wp-admin/includes/update.php
 wp-admin/includes/class-wp-automatic-updater.php
 wp-admin/includes/file.php

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.


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

return: array The test results.

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

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

return: array The test results.

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

return: array The test results.

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

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

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

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

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

return: array The test results.

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

return: array The test results.

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

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

test_accepts_dev_updates()   X-Ref
Checks 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.

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

return: array The test results.



Generated : Thu Apr 25 08:20:02 2024 Cross-referenced by PHPXref