Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the theme update code only run if the theme is active? #3

Closed
deanhamilton11 opened this issue Feb 13, 2019 · 2 comments
Closed

Comments

@deanhamilton11
Copy link

I've got a parent theme hooked up to a wordpress installation running wp-plugin-update-server, the new versions are correctly reflected in wp-plugin-update-server, but our site with the parent theme installed doesn't have any updates available.

Is this because we are using a parent theme, and since it isn't actually active, the code to update the theme never runs?

Thanks.

@froger-me
Copy link
Owner

Hello @deanhamilton11 !

It seems you've hit one of the several limits of the updater library.

Indeed, it necessitates a plugin/theme to be active to be fired - in the case of parent themes, I am not quite sure how or even whether the code in functions.php is executed when checking for updates.

However, WP Package Updater is designed to be lean but fairly flexible: feel free to extend it and experiment with it - at the moment I am focusing on maintenance for WPPUS, and do not have a timeline yet as to when I will add new features.

@deanhamilton11
Copy link
Author

Thanks, that makes sense. You've saved me a whole lot of troubleshooting effort!

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

No branches or pull requests

2 participants