WooCommerce database upgrade behaviour

I've noticed a strange issue on one of the sites I manage with WooCommerce database upgrades, for the last couple o

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:

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745471291a4629145.html

相关推荐

  • WooCommerce database upgrade behaviour

    I've noticed a strange issue on one of the sites I manage with WooCommerce database upgrades, for the last couple o

    1小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信