[2.5] Don't show purchase note to admin
This commit is contained in:
parent
2a6ea6e137
commit
657521ffa4
|
@ -1963,7 +1963,7 @@ abstract class WC_Abstract_Order {
|
|||
'items' => $this->get_items(),
|
||||
'show_download_links' => $this->is_download_permitted() && ! $args['sent_to_admin'],
|
||||
'show_sku' => $args['show_sku'],
|
||||
'show_purchase_note' => $this->is_paid(),
|
||||
'show_purchase_note' => $this->is_paid() && ! $args['sent_to_admin'],
|
||||
'show_image' => $args['show_image'],
|
||||
'image_size' => $args['image_size'],
|
||||
'sent_to_admin' => $args['sent_to_admin']
|
||||
|
|
Loading…
Reference in New Issue