Basic order factory class
get_order wrapper function for new factory
Replace new WC_Order calls with get_order
Created WC_Abstract_Order, extended by WC_Order
Restore get_order call in WC_Order constructor
WC_Order is default class for order factory
Added comment to indicate that WC_Order shouldn't be directly instantiated
Correct the order of Japanese address fields

The order was incorrect. Changing the order of the input address field.
2.1.12 readme
wc_add_order_item_meta() the _line_total doesn't use the total
Have get_product_from_item only return variable product if it exists, and show on the order item row if the variation no longer exists.

Fixes #5536
Merge pull request #5771 from helgatheviking/fix/order-add_product-meta

wc_add_order_item_meta() the _line_total doesn't use the correct total
Merge pull request #5770 from shoheitanaka/patch-5

Correct the order of Japanese address fields
Edit account form hooks

Fixes #5676
Closes #5677
woocommerce_coupon_is_valid_for_cart

Closes #5681
Replace get_page with get_post

get_page is deprecated since WP 3.5
Merge pull request #5780 from afurculita/patch-1

Replace get_page with get_post
Merge remote-tracking branch 'upstream/master' into order-factory-refactor

Conflicts:
	includes/class-wc-order.php
Clear comment transients only on wp_update_comment_count

Does not need to be flushed when editing a product. Part of #5777
No need to clear all transients here - only clear parent's cache

Part of #5777