PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 3.4.3
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v3.4.3
3.4.3 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 All 196 releases
← All changes | includes/class-convertkit-broadcasts-importer.php +5 -5 3.3.23.4.3 View file →
@@ -170,9 +170,9 @@
170 170
171 171 // Unset API class.
172 172 unset( $api );
173 173
174 - // Bail if an error occured fetching the Broadcast.
174 + // Bail if an error occurred fetching the Broadcast.
175 175 if ( is_wp_error( $broadcast ) ) {
176 176 $this->maybe_log( 'ConvertKit_Broadcasts_Importer::refresh(): Broadcast #' . $broadcast_id . '. Error fetching from API: ' . $broadcast->get_error_message() );
177 177 return $broadcast;
178 178 }
@@ -189,9 +189,9 @@
189 189 ),
190 190 true
191 191 );
192 192
193 - // Bail if an error occured.
193 + // Bail if an error occurred.
194 194 if ( is_wp_error( $post_id ) ) {
195 195 $this->maybe_log( 'ConvertKit_Broadcasts_Importer::refresh(): Broadcast #' . $broadcast_id . '. Error on wp_insert_post(): ' . $post_id->get_error_message() );
196 196 return $post_id;
197 197 }
@@ -210,9 +210,9 @@
210 210 ),
211 211 true
212 212 );
213 213
214 - // Bail if an error occured updating the Post.
214 + // Bail if an error occurred updating the Post.
215 215 if ( is_wp_error( $post_id ) ) {
216 216 $this->maybe_log( 'ConvertKit_Broadcasts_Importer::refresh(): Broadcast #' . $broadcast_id . '. Error on wp_update_post() when adding Broadcast content: ' . $post_id->get_error_message() );
217 217 return $post_id;
218 218 }
@@ -250,9 +250,9 @@
250 250 ),
251 251 true
252 252 );
253 253
254 - // Maybe log if an error occured updating the Post to the publish status.
254 + // Maybe log if an error occurred updating the Post to the publish status.
255 255 if ( is_wp_error( $post_id ) ) {
256 256 $this->maybe_log( 'ConvertKit_Broadcasts_Importer::refresh(): Broadcast #' . $broadcast_id . '. Error on wp_update_post() when transitioning post status from draft to publish: ' . $post_id->get_error_message() );
257 257 return $post_id;
258 258 }
@@ -642,9 +642,9 @@
642 642 $post_id,
643 643 $broadcast['thumbnail_alt']
644 644 );
645 645
646 - // Bail if an error occured.
646 + // Bail if an error occurred.
647 647 if ( is_wp_error( $image_id ) ) {
648 648 return $image_id;
649 649 }
650 650