9142e27a19
Two adjustments were needed: - Adjust the count even when there's no nav filtering in the query. This is necessary to present the proper products count. even when the woocommerce_product_is_visible filter is used. - Account for the case where $GLOBALS['wp_query']->posts returns objects instead of ids (for example when viewing a product page). |
||
---|---|---|
.. | ||
data | ||
framework | ||
includes | ||
unit-tests | ||
bootstrap.php | ||
classes-with-mockable-static-methods.php | ||
mockable-functions.php |