@@ -132,7 +132,7 @@ public function handle_import( array $data = [] ) {
132132 $ data = $ this ->import_content ( $ import_coordinates , $ data );
133133
134134 if ( $ this ->has_created_post ) {
135- $ this ->update_inserted_blog_post_data ($ dest_blog_id , $ dest_post_id , $ data );
135+ $ this ->update_inserted_blog_post_data ( $ dest_blog_id , $ dest_post_id , $ data );
136136 $ this ->redirect_to_blog_post ( $ dest_blog_id , $ dest_post_id );
137137 }
138138
@@ -238,7 +238,7 @@ public function handle( $handle ) {
238238 /**
239239 * Imports content according to the provided coordinates.
240240 *
241- * @param ImportCoordinates $import_coordinates
241+ * @param ImportCoordinates $import_coordinates
242242 * @param array $post_fields An optional array of post fields; this can be
243243 * left empty if the method is not called as a consequence
244244 * of filtering the `wp_insert_post_data` filter.
@@ -260,10 +260,11 @@ public function import_content( ImportCoordinates $import_coordinates, array $po
260260 /**
261261 * Filters the data before the import runs.
262262 *
263- * @since TBD
264- *
265263 * @param array $post_fields
266264 * @param ImportCoordinates $import_coordinates
265+ *
266+ * @since TBD
267+ *
267268 */
268269 $ post_fields = apply_filters ( 'msls_content_import_data_before_import ' , $ post_fields , $ import_coordinates );
269270
@@ -305,11 +306,12 @@ public function import_content( ImportCoordinates $import_coordinates, array $po
305306 /**
306307 * Fires after the import ran.
307308 *
308- * @since TBD
309- *
310309 * @param ImportCoordinates $import_coordinates
311310 * @param ImportLogger $logger
312311 * @param Relations $relations
312+ *
313+ * @since TBD
314+ *
313315 */
314316 do_action ( 'msls_content_import_after_import ' , $ import_coordinates , $ this ->logger , $ this ->relations );
315317
@@ -321,7 +323,11 @@ public function import_content( ImportCoordinates $import_coordinates, array $po
321323 * @param ImportLogger $logger
322324 * @param Relations $relations
323325 */
324- return apply_filters ( 'msls_content_import_data_after_import ' , $ post_fields , $ import_coordinates , $ this ->logger , $ this ->relations );
326+ return apply_filters ( 'msls_content_import_data_after_import ' ,
327+ $ post_fields ,
328+ $ import_coordinates ,
329+ $ this ->logger ,
330+ $ this ->relations );
325331 }
326332
327333 /**
@@ -330,7 +336,7 @@ public function import_content( ImportCoordinates $import_coordinates, array $po
330336 *
331337 * @return array
332338 */
333- protected function update_inserted_blog_post_data ($ blog_id , $ post_id , array $ data ) {
339+ protected function update_inserted_blog_post_data ( $ blog_id , $ post_id , array $ data ) {
334340 $ data ['ID ' ] = $ post_id ;
335341 $ data ['post_status ' ] = empty ( $ data ['post_status ' ] ) || $ data ['post_status ' ] === 'auto-draft '
336342 ? 'draft '
0 commit comments