Skip to content

Commit

Permalink
Merge branch 'trunk' into fix/renewal-dispute-lost-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
annemirasol authored Dec 16, 2024
2 parents 8082d74 + 3ec42fe commit 933d719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-product-subscription-variation.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function add_to_cart_text() {
* @return string
*/
public function single_add_to_cart_text() {
return apply_filters( 'woocommerce_product_single_add_to_cart_text', self::add_to_cart_text(), $this );
return apply_filters( 'woocommerce_product_single_add_to_cart_text', WC_Subscriptions_Product::get_add_to_cart_text(), $this );
}

/**
Expand Down

0 comments on commit 933d719

Please sign in to comment.