Skip to content

Commit c55ce70

Browse files
author
David Evbodaghe
committed
Fix: Products removed from product set when category name changed
1 parent 11ccc7f commit c55ce70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/ProductSets/ProductSetSync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ private function sync_all_wc_product_categories() {
249249
*
250250
* @param \WP_Term $wc_category The WooCommerce category object.
251251
*/
252-
private function sync_products_in_category( $wc_category ) {
252+
protected function sync_products_in_category( $wc_category ) {
253253
if ( ! $wc_category instanceof \WP_Term ) {
254254
return;
255255
}

0 commit comments

Comments
 (0)