This branch is now 2.1.8-bleeding
Update REST API documentation link
Update class-wc-frontend-scripts.php

See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318
added method to stop save duplicate sku in quick edit
fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php
For customer search, join once. Performance increase.
Removes unused block and var.

There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
Update class-wc-emails.php

Check for a value against each meta item before outputting.
Typo fix.
fixed my account downloadables out of order
fixed incorrect order received endpoit tooltip
Use `woocommerce_valid_order_statuses_for_payment` in `pay_action` too

Even though it was possible to filter the statuses in my-order.php and other places,
it was not possible in the actual pay action.
Introduce `woocommerce_valid_order_statuses_for_payment_complete` filter

Since it's possible to filter the valid order statuses for payments and cancels,
it only makes sense to be able to do the same when checking which statuses
are valid for completing a payment.
Introduce `woocommerce_thankyou_order_received_text` filter
Supply order to thankyou text filter, if available
Update class-wc-admin-cpt-product.php

To handle bulk edit of "Sold Individually".
(The view part will follow in the next edit)
Update html-bulk-edit-product.php

The view part of "Sold Individually" bulk edit
Docblock fix: wc_product_post_type_link
Backorders at variation level

Added a new select metabox for variations allowing users to control
backorders at the variation level.
Might need more testing.
ref: #5351