Safely update or deactivate a plugin
start_safe_updateWordPress sites: for a vulnerable or outdated plugin a run found (get_run warnings with a plugin), update it (or deactivate it) through the Relvato plugin, re-run the monitors that were passing, and undo it if any of them breaks. Counts as runs. Follow it with get_safe_update. Get the user's go-ahead first. With Relvato plugin 1.77.0+ the change is made in WordPress by an administrator (answer: applyInWordPress, a link to give the user); Relvato verifies it, and if it breaks a monitor Relvato alerts the user to undo it there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The run that found the plugin | |
| action | Yes | ||
| plugin | Yes | The plugin's slug (the finding's subject.slug) |