Did anyone test if this action is being executed on theme upgrade?
Are there any other actions I could use to attach a theme uninstall function?
Leave a Reply
You must be logged in to post a comment.
Did anyone test if this action is being executed on theme upgrade?
Are there any other actions I could use to attach a theme uninstall function?
You must be logged in to post a comment.
My educated guess is that process is implemented in Theme_Upgrader class.
It does some stuff with
upgrader_post_install
hook (seems like a good candidate) and it does runswitch_theme()
under some conditions (that I am too lazy to make sense of at moment).