← All changes
|
includes/integrations/contactform7/class-convertkit-contactform7.php
+3
-3
3.3.2
→
3.4.4
View file →
| @@ -150,9 +150,9 @@ | ||
| 150 | 150 | case 'form': |
| 151 | 151 | // Subscribe with inactive state. |
| 152 | 152 | $subscriber = $api->create_subscriber( $email, $first_name, 'inactive' ); |
| 153 | 153 | |
| 154 | - // If an error occured, don't attempt to add the subscriber to the Form, as it won't work. | |
| 154 | + // If an error occurred, don't attempt to add the subscriber to the Form, as it won't work. | |
| 155 | 155 | if ( is_wp_error( $subscriber ) ) { |
| 156 | 156 | return; |
| 157 | 157 | } |
| 158 | 158 | |
| @@ -171,9 +171,9 @@ | ||
| 171 | 171 | case 'sequence': |
| 172 | 172 | // Subscribe. |
| 173 | 173 | $subscriber = $api->create_subscriber( $email, $first_name ); |
| 174 | 174 | |
| 175 | - // If an error occured, don't attempt to add the subscriber to the Form, as it won't work. | |
| 175 | + // If an error occurred, don't attempt to add the subscriber to the Form, as it won't work. | |
| 176 | 176 | if ( is_wp_error( $subscriber ) ) { |
| 177 | 177 | return; |
| 178 | 178 | } |
| 179 | 179 | |
| @@ -186,9 +186,9 @@ | ||
| 186 | 186 | case 'tag': |
| 187 | 187 | // Subscribe. |
| 188 | 188 | $subscriber = $api->create_subscriber( $email, $first_name ); |
| 189 | 189 | |
| 190 | - // If an error occured, don't attempt to add the subscriber to the Form, as it won't work. | |
| 190 | + // If an error occurred, don't attempt to add the subscriber to the Form, as it won't work. | |
| 191 | 191 | if ( is_wp_error( $subscriber ) ) { |
| 192 | 192 | return; |
| 193 | 193 | } |
| 194 | 194 | |