Plugin Directory

Changeset 3250592


Ignore:
Timestamp:
03/04/2025 05:10:16 PM (13 months ago)
Author:
bulletproofcheckout
Message:

update the wording for the order note when status is changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bulletproof-checkout-lite/trunk/includes/class-wc-bulletproof-webhook.php

    r3250590 r3250592  
    4646                if ($order && ($current_order_status === 'pending' || $current_order_status === 'Pending payment' || $current_order_status === 'failed' || $current_order_status === 'cancelled' || $current_order_status === 'Failed' || $current_order_status === 'Canceled')) {
    4747                    if ($status_after_order_completed != "") {
    48                         $the_msg = 'Status updated by the BulletProof Plugin from Pending to ' . $status_after_order_completed;
     48                        $the_msg = 'Status updated by the BulletProof Plugin from '.$current_order_status.' to ' . $status_after_order_completed;
    4949                        $order->update_status($status_after_order_completed, __($the_msg, 'bulletproof-checkout-lite'));
    5050                    }
Note: See TracChangeset for help on using the changeset viewer.