admin管理员组文章数量:1426244
I've noticed a strange issue on one of the sites I manage with WooCommerce database upgrades, for the last couple of releases. Here's the upgrade path the WooCommerce plugin has been through on this site:
3.4.6 -> 3.5.0*
3.5.0 -> 3.5.1
3.5.1 -> 3.5.2*
For the two upgrades marked with an asterisk, a database upgrade was required (there's nothing in my notes about a database upgrade for the middle one, so I assume one wasn't required). But for both of those updates, I didn't get a message in the WordPress dashboard inviting me to run the updater - I only knew to expect one because I had done the same update on other sites.
I found that I could log in and do the update using the CLI though:
# wp wc update
Calling update function: wc_update_352_drop_download_log_fk
Success: 1 updates complete. Database version is 3.5.1
# wp wc update
Calling update function: wc_update_352_drop_download_log_fk
Success: 1 updates complete. Database version is 3.5.1
#
As you can see here though, for the most recent update, the database version remains at 3.5.1, despite the migration apparently running fine. When I try to run the updater again, the same process happens.
What's going on here?
WP Environment Info:
本文标签: WooCommerce database upgrade behaviour
版权声明:本文标题:WooCommerce database upgrade behaviour 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745471290a2659761.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论