Skip to content

Conversation

@pupi1985
Copy link
Contributor

Keeps track of pending plugin and core updates.

Plugins are checked on date set in the plugin_update_last_check option. Plugin IDs and versions are stored in the plugin_update_cache option, as JSON. Only updates are stored. It could be possible to use one option to store everything and include the last check date (as the core, below). I'm inclined to keep the rows used to the minimum, as long as they make sense.

The core works in the same way but the last check is stored in the same option row as the version and they are stored as a JSON object as well.

The approach invalidates the cache as discussed here: #769 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant