diff --git a/includes/admin/list-tables/class-wc-admin-list-table-orders.php b/includes/admin/list-tables/class-wc-admin-list-table-orders.php index 18a71083c75..8066cbc945d 100644 --- a/includes/admin/list-tables/class-wc-admin-list-table-orders.php +++ b/includes/admin/list-tables/class-wc-admin-list-table-orders.php @@ -459,9 +459,11 @@ class WC_Admin_List_Table_Orders extends WC_Admin_List_Table {
'; foreach ( $line_items as $item_id => $item ) { - $product_object = is_callable( array( $item, 'get_product' ) ) ? $item->get_product() : null; - $html .= '