Confirm buffer is not empty before erasing

Confirm file_exists before opening. For PHP 5.3 or earlier, check if
safe_mode is active to avoid errors.
Use wp_send_json() WordPress function for AJAX

The header(), json_encode(), and die(), functions are all executed with
a better logical routine that should provide consistent results.
Make checkout form multipart
Allow downloadable products URL to be relative
Remove ordering query args

If these are not removed right after use they will affect the remaining
queries on the page.
status report overrides table format

New tr for every extension being checked for overrides.
Update class-wc-query.php

Use 'term_id' instead of 'id' for the tax_query as described in WP codex: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
Merge remote-tracking branch 'upstream/master'
Introduce 'woocommerce_get_order_item_totals_excl_free_fees' filter

The new filter will allow plugins that add order item meta to choose to
display the free fee items on order details pages and emails.
order item count wrong
filter output apart from count
filter name change
filter class
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