Fix admin analytics performance issue in WooCommerce 5.5.1 on child sites.
Snippet Type
Execute on Child Sites
Snippet
add_filter('posts_where', function ($where, WP_Query $wp_query) {
if ($wp_query->get('low_in_stock')) {
$wp_query->set('low_in_stock', false);
}
return $where;
}, 9, 3);
The issue is fixed in the current 2.4.4 of the WooCommerce Admin plugin which will be updated and included in version 5.6.0 of WooCommerce released in mid August.
About a year ago, we announced that we would be shifting to a monthly release cycle for WooCommerce core. As we mentioned in the past, this shift was part of a longer journey toward smaller, more f…
system
(system)
Closed
August 21, 2021, 8:34pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.