dokan
dokan copied to clipboard
Ensure correct order status is displayed for vendors after updating
This is a very small PR to ensure that the correct order status will be visible after updating the order status.
In some cases plugin/theme authors will hook into actions like woocommerce_order_status_x_to_x
and similar to update the order status again depending on certain store needs. In these cases Dokan would show the wrong order status.
With this PR we ensure that we return the order status assigned to the order after all hooks has run.
Can this PR get some attention please? There should be absolutely no issues to get this merged.
@rmilesson We will merge this in next release insha'Allah, kindly wat for few more days. Possible release date is 25th of Jan