mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-07-28 01:57:35 +08:00
Shipment::line_items() indexed the saved tracking-info order meta by tracking number without checking it was an array first, causing an "Illegal string offset" PHP warning when the meta was an empty string (e.g. before any tracking info exists for a new tracking number). Mirrors the existing guard already used in OrderTrackingEndpoint::save_tracking_metadata(). |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| carriers.php | ||
| composer.json | ||
| module.php | ||
| services.php | ||