mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-15 22:02:56 +00:00
2.5.3
This commit is contained in:

committed by
Remco Tolsma

parent
99a693a46f
commit
e38fdb9d42
@@ -334,7 +334,7 @@ function wcs_get_all_user_actions_for_subscription( $subscription, $user_id ) {
|
||||
);
|
||||
}
|
||||
|
||||
if ( wcs_can_user_resubscribe_to( $subscription, $user_id ) ) {
|
||||
if ( wcs_can_user_resubscribe_to( $subscription, $user_id ) && false == $subscription->can_be_updated_to( 'active' ) ) {
|
||||
$actions['resubscribe'] = array(
|
||||
'url' => wcs_get_users_resubscribe_link( $subscription ),
|
||||
'name' => __( 'Resubscribe', 'woocommerce-subscriptions' ),
|
||||
|
Reference in New Issue
Block a user