Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Add themes autoupdates support basis #44

Merged
merged 2 commits into from
Mar 23, 2020
Merged

Conversation

audrasjb
Copy link
Owner

@audrasjb audrasjb commented Mar 9, 2020

Let's support themes auto-updates as well!
Introducing:

  • wp_autoupdates_is_themes_auto_update_enabled() function
  • wp_autoupdates_selected_themes() function that hook on auto_update_theme filter

@audrasjb audrasjb self-assigned this Mar 9, 2020
@audrasjb audrasjb added the enhancement New feature or request label Mar 9, 2020
@audrasjb audrasjb modified the milestones: 0.3.0, 0.4.0 Mar 9, 2020
*
* @param bool $enabled True if plugins auto udpate is enabled, false otherwise.
* @param bool $enabled True if plugins auto-udpate is enabled, false otherwise.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in auto-update (also line 81). Otherwise this seems fine to me.

@audrasjb audrasjb merged commit 14244b5 into master Mar 23, 2020
@audrasjb audrasjb deleted the add/themes-support-basis branch March 23, 2020 21:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants