parent
3222d1473e
commit
803f4a9e85
|
@ -942,7 +942,7 @@ class WC_AJAX {
|
|||
}
|
||||
}
|
||||
|
||||
delete_transient( 'wc_product_children_ids_' . $post_id );
|
||||
delete_transient( 'wc_product_children_ids_' . $post_id . WC_Cache_Helper::get_transient_version( 'product' ) );
|
||||
|
||||
echo $added;
|
||||
|
||||
|
@ -2045,7 +2045,7 @@ class WC_AJAX {
|
|||
if ( $refund_id && 'shop_order_refund' === get_post_type( $refund_id ) ) {
|
||||
wc_delete_shop_order_transients( wp_get_post_parent_id( $refund_id ) );
|
||||
wp_delete_post( $refund_id );
|
||||
|
||||
|
||||
do_action( 'woocommerce_refund_deleted', $refund_id );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue