Fix typo.

This commit is contained in:
Vedanshu Jain 2023-03-14 17:28:50 +05:30
parent 09581201f2
commit 52890fccab
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class WC_Order_Factory {
if ( $use_orders_cache ) {
foreach ( $result as $order_id => $order ) {
$order_cache->set( $order, $order->get_id( $order_id ) );
$order_cache->set( $order, $order->get_id() );
}
$result = array_replace( $result, $already_cached_orders );
}