[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

(no description)

File Size: 478 lines (14 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/class-wp-upgrader.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
Run 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
Check if updates are intercepted by a filter.

return: array The test results.

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

return: array The test results.

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

return: array|bool 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.

return: array|bool 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).

return: array The test results.

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

return: array The test results.

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

return: array|bool 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.

return: array|bool 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.

return: array The test results.



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7