Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changelogs/issue_3039.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
significance: patch
type: changed
comment: Add the user to the status change note.
links:
- "#3039"
attributions:
- "@robindevitt"
entry: Add the user to the status change note.
2 changes: 1 addition & 1 deletion includes/controllers/class.llms.controller.orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ public function transition_status( $new_status, $old_status, $post ) {
// Record order status changes as notes.
if ( 'order' === $post_type ) {
/* translators: %1$s: Old Status, %2$s: New status. */
$obj->add_note( sprintf( __( 'Order status changed from %1$s to %2$s', 'lifterlms' ), llms_get_order_status_name( $old_status ), llms_get_order_status_name( $new_status ) ) );
$obj->add_note( sprintf( __( 'Order status changed from %1$s to %2$s', 'lifterlms' ), llms_get_order_status_name( $old_status ), llms_get_order_status_name( $new_status ) ), true );
}

// Remove prefixes from all the things.
Expand Down
Loading