Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit dff1a5d

Browse files
committed
Removed version check
1 parent 766991d commit dff1a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/class-wc-subscriptions-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static function init() {
135135
add_action( 'woocommerce_payment_gateways_settings', __CLASS__ . '::add_recurring_payment_gateway_information', 10, 1 );
136136

137137
// Change text for when order items cannot be edited
138-
wcs_add_woocommerce_dependent_action( 'woocommerce_admin_order_totals_after_total', array( __CLASS__, 'maybe_attach_gettext_callback' ), '4.0.0', '>' );
138+
add_action( 'woocommerce_admin_order_totals_after_total', array( __CLASS__, 'maybe_attach_gettext_callback' ) );
139139

140140
// Unhook gettext callback to prevent extra call impact
141141
add_action( 'woocommerce_order_item_add_action_buttons', __CLASS__ . '::maybe_unattach_gettext_callback', 10, 1 );

0 commit comments

Comments
 (0)