wpovernight / woocommerce-pdf-invoices-packing-slips

Create, print & automatically email PDF invoices & packing slips for WooCommerce orders.
https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Other
99 stars 46 forks source link

Fix: document date parse function being called on non HPOS stores #775

Closed alexmigf closed 5 months ago

alexmigf commented 5 months ago

This PR addresses an issue spotted on the Professional extension, which lead to issues in the Bulk Export when using the Document date.

The meta_query key used by wc_get_orders, and built by our function wpo_wcpdf_parse_document_date_for_wp_query, is only available on HPOS.