diff --git a/src/classes/generic-background-process/class-tainacan-bulk-edit-process.php b/src/classes/generic-background-process/class-tainacan-bulk-edit-process.php index ae6eb87a1..0b3f32890 100644 --- a/src/classes/generic-background-process/class-tainacan-bulk-edit-process.php +++ b/src/classes/generic-background-process/class-tainacan-bulk-edit-process.php @@ -84,10 +84,15 @@ class Bulk_Edit_Process extends Generic_Process { public function get_output() { $name = $this->get_bulk_collection_name(); - $title = __('Collection', 'tainacan'); + $title_label = __('Collection', 'tainacan'); + $author_label = __('Processed by', 'tainacan'); + + $current_user = wp_get_current_user(); + $author_name = $current_user->user_login; $message = __('Bulk edit finished', 'tainacan'); - $message .= "

${title}: ${name}

"; + $message .= "

${title_label}: ${name}

"; + $message .= "

${author_label}: ${author_name}

"; return $message; }