Skip to content

Fix order status log for WooCommerce >= 2.2#851

Merged
lukecarbis merged 1 commit intoxwp:developfrom
jamesgol:woo_order_status
Jul 27, 2016
Merged

Fix order status log for WooCommerce >= 2.2#851
lukecarbis merged 1 commit intoxwp:developfrom
jamesgol:woo_order_status

Conversation

@jamesgol
Copy link
Copy Markdown
Contributor

Per https://woocommerce.wordpress.com/2014/08/07/wc-2-2-order-statuses-plugin-compatibility/ WooCommerce switched from using a taxonomy for shop_order_status to using post_status.

Per https://woocommerce.wordpress.com/2014/08/07/wc-2-2-order-statuses-plugin-compatibility/ WooCommerce switched from using a taxonomy for shop_order_status to using post_status.
@jamesgol
Copy link
Copy Markdown
Contributor Author

While trying to understand how everything works in the plugin I decided to look at some existing connectors and noticed this wasn't working on my recent version of WooCommerce.

@jamesgol
Copy link
Copy Markdown
Contributor Author

jamesgol commented May 26, 2016

I'm not convinced that strtolower is desired on the names or that the status should be passed as the log action. Might be nicer to pass 'updated' as the action (or at least the non strtolower'd version)

@lukecarbis lukecarbis merged commit ed02eda into xwp:develop Jul 27, 2016
@lukecarbis
Copy link
Copy Markdown
Contributor

Thanks @jamesgol - see 4b46c55 and 9560e3c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants