| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | private static function completed( int $subscription_id ) { |
| 92 | 92 | $comment_id = wp_insert_comment( |
| 93 | 93 | array( |
| 94 | 94 | 'comment_author' => 'Subscription for WooCommerce', |
| 95 | - 'comment_content' => __( 'Subscription completed. All payments made.', 'subscription' ), | |
| 95 | + 'comment_content' => 'Subscription completed. All payments made.', | |
| 96 | 96 | 'comment_post_ID' => $subscription_id, |
| 97 | 97 | 'comment_type' => 'order_note', |
| 98 | 98 | ) |
| 99 | 99 | ); |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | private static function expired( int $subscription_id ) { |
| 112 | 112 | $comment_id = wp_insert_comment( |
| 113 | 113 | array( |
| 114 | 114 | 'comment_author' => 'Subscription for WooCommerce', |
| 115 | - 'comment_content' => __( 'Subscription is Expired', 'subscription' ), | |
| 115 | + 'comment_content' => 'Subscription is Expired', | |
| 116 | 116 | 'comment_post_ID' => $subscription_id, |
| 117 | 117 | 'comment_type' => 'order_note', |
| 118 | 118 | ) |
| 119 | 119 | ); |
| @@ -131,9 +131,9 @@ | ||
| 131 | 131 | private static function active( int $subscription_id ) { |
| 132 | 132 | $comment_id = wp_insert_comment( |
| 133 | 133 | array( |
| 134 | 134 | 'comment_author' => 'Subscription for WooCommerce', |
| 135 | - 'comment_content' => __( 'Subscription activated. Next payment due date set.', 'subscription' ), | |
| 135 | + 'comment_content' => 'Subscription activated. Next payment due date set.', | |
| 136 | 136 | 'comment_post_ID' => $subscription_id, |
| 137 | 137 | 'comment_type' => 'order_note', |
| 138 | 138 | ) |
| 139 | 139 | ); |
| @@ -151,9 +151,9 @@ | ||
| 151 | 151 | private static function pending( int $subscription_id ) { |
| 152 | 152 | $comment_id = wp_insert_comment( |
| 153 | 153 | array( |
| 154 | 154 | 'comment_author' => 'Subscription for WooCommerce', |
| 155 | - 'comment_content' => __( 'Subscription is pending.', 'subscription' ), | |
| 155 | + 'comment_content' => 'Subscription is pending.', | |
| 156 | 156 | 'comment_post_ID' => $subscription_id, |
| 157 | 157 | 'comment_type' => 'order_note', |
| 158 | 158 | ) |
| 159 | 159 | ); |
| @@ -171,9 +171,9 @@ | ||
| 171 | 171 | private static function cancelled( int $subscription_id ) { |
| 172 | 172 | $comment_id = wp_insert_comment( |
| 173 | 173 | array( |
| 174 | 174 | 'comment_author' => 'Subscription for WooCommerce', |
| 175 | - 'comment_content' => __( 'Subscription is Cancelled.', 'subscription' ), | |
| 175 | + 'comment_content' => 'Subscription is Cancelled.', | |
| 176 | 176 | 'comment_post_ID' => $subscription_id, |
| 177 | 177 | 'comment_type' => 'order_note', |
| 178 | 178 | ) |
| 179 | 179 | ); |
| @@ -196,9 +196,9 @@ | ||
| 196 | 196 | private static function on_hold( int $subscription_id ) { |
| 197 | 197 | $comment_id = wp_insert_comment( |
| 198 | 198 | array( |
| 199 | 199 | 'comment_author' => 'Subscription for WooCommerce', |
| 200 | - 'comment_content' => __( 'Subscription is On Hold. Access suspended after payment failure.', 'subscription' ), | |
| 200 | + 'comment_content' => 'Subscription is On Hold. Access suspended after payment failure.', | |
| 201 | 201 | 'comment_post_ID' => $subscription_id, |
| 202 | 202 | 'comment_type' => 'order_note', |
| 203 | 203 | ) |
| 204 | 204 | ); |
| @@ -216,9 +216,9 @@ | ||
| 216 | 216 | private static function pe_cancelled( int $subscription_id ) { |
| 217 | 217 | $comment_id = wp_insert_comment( |
| 218 | 218 | array( |
| 219 | 219 | 'comment_author' => 'Subscription for WooCommerce', |
| 220 | - 'comment_content' => __( 'Subscription is Pending Cancellation.', 'subscription' ), | |
| 220 | + 'comment_content' => 'Subscription is Pending Cancellation.', | |
| 221 | 221 | 'comment_post_ID' => $subscription_id, |
| 222 | 222 | 'comment_type' => 'order_note', |
| 223 | 223 | ) |
| 224 | 224 | ); |