Use correct Content-Type header for JSON output
Empty $integrations array prevents defining $links

Empty $integrations array prevents defining $links which causes a notice for undefined var and warning in `implode()`
Issue #2245 / Disable Integrations Tab if empty
Created the `woocommerce_get_product_ids_on_sale()` function
Merge pull request #2242 from GeertDD/json

Use correct Content-Type header for JSON output
Merge pull request #2247 from GeertDD/DRY_sale

Created the `woocommerce_get_product_ids_on_sale()` function
Find term based on id instead of slug, if you use numbers as term names it conflicts with the ids since has_term searches on id, slug and name when a string is passed but only on ids when integers are passed.
Merge pull request #2252 from kloon/master

Show selected attributes based on id and not slug in product edit pages.
Merge pull request #2246 from entr/patch-2

Issue #2245 / Disable Integrations Tab if empty
Prefer empty function over ! count for this #2246
Merge pull request #2244 from entr/patch-1

Empty $integrations array prevents defining $links
Use meta to prevent double tracking Closes #2248
Clean up variation display in admin. Closes #2241.
Fix fatal error, `empty()` only supports variables (prior to PHP 5.5)
Merge pull request #2255 from GeertDD/fatal_empty

Fix fatal error, `empty()` only supports variables (prior to PHP 5.5)
sort icon
Support desc_tip in settings api Closes #2251.
orders icons / action buttons
Order status icons

completed = check
pending = dash
cancelled = cross
failed = altert
on-hold = clock
refunded = arrows
processing = dots
prevent undefined state placeholder