e419d073d5
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses |
||
---|---|---|
.. | ||
form-add-payment-method.php | ||
form-edit-account.php | ||
form-edit-address.php | ||
form-login.php | ||
form-lost-password.php | ||
my-account.php | ||
my-address.php | ||
my-downloads.php | ||
my-orders.php | ||
view-order.php |