WP_Automatic_Updater
class WP_Automatic_Updater
// Constructor: function Object() { [native code] } Core class used for handling automatic background updates.
Methods 13 methods
| Method / Return | Description |
|---|---|
| is_disabled() bool | Determines whether the entire automatic updater is disabled. |
| is_allowed_dir() bool | Checks whether access to a given directory is allowed.
Parameters: $dir: mixed |
| is_vcs_checkout() bool | Checks for version control checkouts.
Parameters: $context: mixed |
| should_update() bool | Tests to see if we can and should update a specific item.
Parameters: $type: mixed, $item: mixed, $context: mixed |
| send_core_update_notification_email() bool | Notifies an administrator of a core update.
Parameters: $item: mixed |
| update() (null | Updates an item, if appropriate.
Parameters: $type: mixed, $item: mixed |
| run() void | Kicks off the background update process, looping through all pending updates. |
| after_core_update() void | Checks whether to send an email and avoid processing future updates after
Parameters: $update_result: mixed |
| send_email() void | Sends an email upon the completion or failure of a background core update.
Parameters: $type: mixed, $core_update: mixed, $result: mixed |
| after_plugin_theme_update() void | Checks whether an email should be sent after attempting plugin or theme updates.
Parameters: $update_results: mixed |
| send_plugin_theme_email() void | Sends an email upon the completion or failure of a plugin or theme background update.
Parameters: $type: mixed, $successful_updates: mixed, $failed_updates: mixed |
| send_debug_email() void | Prepares and sends an email of a full log of background update results, useful for debugging and geekery. |
| has_fatal_error() bool | Performs a loopback request to check for potential fatal errors. |
Properties
| Property / Type | Description |
|---|---|
| $update_results mixed public | No description available. |