Michael Kimb
Veteran
Just Getting Started
Member Likes (0)
Hi,
Just a quick little bug report (+ Fix!!)
In marketpress.php, inside the function generate_order_id() is the following code:
$_SESSION['mp_order'] = apply_filters( 'mp_order_id', $order_id ); //Very important to make sure order numbers are unique and not sequential if filtering
return $order_id;
If you filter the order ID, then the value set in the session is different from the value returned, the code should read:
$_SESSION['mp_order'] = apply_filters( 'mp_order_id', $order_id ); //Very important to make sure order numbers are unique and not sequential if filtering
return $_SESSION['mp_order'];

Responses (2)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hello Michael,
Many thanks for that! I'll run that by our developers!
Cheers,
David
Lead Developer (joined May 2009) Likes (0)
Whoops, sorry about that!
Become a member