Commit Graph

18060 Commits

Author SHA1 Message Date
Claudio Sanches 526a46325f Allow convert date to GMT in the legacy API 2016-11-18 16:13:46 -02:00
Claudio Sanches 6d66391a68 Merge pull request #12388 from woocommerce/terms-performance
Optimize terms queries
2016-11-18 13:01:38 -02:00
Claudio Sanches 2a4aa26a31 Removed extra … 2016-11-18 12:19:44 -02:00
Claudio Sanches a27ac728f3 Fixed undefined post 2016-11-18 12:17:29 -02:00
Claudio Sanches 24f88dbd2e Merge pull request #12387 from woocommerce/fix-fousin-firefox50
[2.6] Fixed select reseting everytime that is clicked on Firefox 50
2016-11-18 12:05:11 -02:00
Mike Jolley da2cc7144c Merge pull request #12396 from woocommerce/update-customer-crud-endpoints
Apply Customer CRUD to legacy customer API endpoint
2016-11-18 12:35:24 +00:00
Mike Jolley d6c5a725ad Merge pull request #12397 from woocommerce/customer-crud-validation
Stop ignore the wc_create_new_customer() error messages
2016-11-18 12:34:08 +00:00
Claudio Sanches 7bf6fa0f11 Merge pull request #12391 from woocommerce/support-wp47-bulk-actions
Use new WP 4.7 bulk actions filters
2016-11-18 09:14:24 -02:00
Claudio Sanches c0809d0b72 Fixed a typo and missing comma 2016-11-18 09:13:37 -02:00
Claudio Sanches ebf1fb55f3 Merge pull request #12392 from woocommerce/remove-legacy-code
Remove legacy dependency code
2016-11-18 09:12:30 -02:00
Claudio Sanches 65c9a1b26b Fixed undefined method WC_Order_Item_Product::get_qty() 2016-11-18 06:08:00 -02:00
Claudio Sanches 714244faf0 Stop ignore the wc_create_new_customer() error messages
- Transform wc_create_new_customer() error message in exceptions
- Added new actions to match WC_Coupon_Data_Store_CPT and make easy to
  use in webhooks
2016-11-18 05:53:18 -02:00
Claudio Sanches 91d6c74701 Apply Customer CRUD methods to update and create legacy API endpoints 2016-11-18 04:16:38 -02:00
Claudio Sanches e032001953 Fixed undefined variable on update_customer_meta_fields() 2016-11-18 03:37:59 -02:00
Claudio Sanches 4fd47e1b02 Use wc_get_orders() to query customer orders 2016-11-17 22:11:05 -02:00
Claudio Sanches aba4699ee2 Removed old get avatar method 2016-11-17 22:01:55 -02:00
Claudio Sanches 14996ef97a Updated customer legacy API endpoints 2016-11-17 21:55:52 -02:00
Claudio Sanches 375b6e9789 Remove legacy dependency code 2016-11-17 19:06:46 -02:00
Claudio Sanches 92c7cafff8 Use new WP 4.7 bulk actions filters, closes #12379 2016-11-17 18:57:48 -02:00
Claudio Sanches f5a228509a Fixed coding standards 2016-11-17 18:07:58 -02:00
Claudio Sanches 2f425861ab Merge pull request #12389 from hussong/patch-1
Add Cyprus to Europe
2016-11-17 18:05:17 -02:00
hussong 09ab05d24b Add Cyprus to Europe
Added missing country Cyprus (CY) to the Europe set. 

Arguably, you could also consider adding Greenland (GL), since it's one of the Overseas Countries and Territories (OCT) of the EU and you've already included Svalbard and Jan Mayen, which is equally far from Europe in a geographic sense.
2016-11-17 20:24:38 +01:00
Claudio Sanches e567bf3472 Allow CodeSniffer throw alerts about wp_get_post_terms functions 2016-11-17 17:03:05 -02:00
Claudio Sanches e1aeba9f21 Remove all wp_get_post_terms() and wp_get_object_terms() terms occurrences 2016-11-17 17:02:05 -02:00
Claudio Sanches 4c54143743 Created new helpers to prevent use non-cached functions to query terms 2016-11-17 17:00:56 -02:00
Claudio Sanches b279727bca [2.6] Fixed select reseting everytime that is clicked on Firefox 50, closes #12383 2016-11-17 15:53:27 -02:00
Claudio Sanches 2ff4bc9591 Fixed not declared var and coding standards #12385 2016-11-17 15:08:19 -02:00
Claudio Sanches 94e7adfa08 Merge pull request #12385 from jamesckemp/patch-5
Move "added_to_cart" actions to trigger
2016-11-17 14:51:56 -02:00
James Kemp cf6c42fb01 Move "added_to_cart" actions to trigger
Doing this means that plugin/theme developers can trigger the mini-cart and buttons to update without having to rewrite and maintain their own version of this function.
2016-11-17 16:05:46 +00:00
James Koster 1039babe2c manual order creation - make address load/copy icons text links to improve usability. closes #12356 2016-11-17 12:38:15 +00:00
James Koster b0d326ec2e Update old suitCSS inspired class names to use BEM model. #10674 2016-11-17 11:56:57 +00:00
James Koster f709d6be3c Standardise class names #12297 2016-11-17 11:51:54 +00:00
James Koster 6c67c70fa8 Merge pull request #12297 from woocommerce/normalize-checkbox-labels
Updated use of labels for checkboxes
2016-11-17 11:41:12 +00:00
Justin Shreve 151f39d559 Merge pull request #12374 from woocommerce/update/quick-and-bulk-edit-crud
Product quick and bulk edit.
2016-11-16 14:19:58 -08:00
Claudio Sanches f201684917 Wrap checkbox label texts into span elements 2016-11-16 19:44:22 -02:00
Justin Shreve 20fca44334 Handle product quick and bulk edit. 2016-11-16 12:54:53 -08:00
Claudio Sanches 4a20b2a8a1 Merge pull request #12371 from woocommerce/product-visible-by-default
Make products visible by default
2016-11-16 18:27:34 -02:00
Claudio Sanches 003728ff11 Merge pull request #12319 from woocommerce/allow-password-strength-lost-pass-page
[2.6] Allow password strength meter in "Lost Password" page
2016-11-16 17:15:00 -02:00
Claudio Sanches 240e58ea31 Merge pull request #12368 from woocommerce/exclude-webhoook_delivery-from-count-comments
[2.6] Exclude webhook_delivery from wp_count_comments()
2016-11-16 17:11:24 -02:00
Claudio Sanches c5a00a3120 Make products visible by default 2016-11-16 16:56:40 -02:00
Lee Willis 837007af83 Make docs for wc_get_products() match implementation 2016-11-16 13:24:01 -02:00
Claudio Sanches d7887c44a0 Merge branch 'master' of github.com:woocommerce/woocommerce 2016-11-16 13:19:12 -02:00
Mike Jolley 29ddaca8e8 Merge branch 'update/shipping-zone-data-store'
# Conflicts:
#	includes/api/class-wc-rest-products-controller.php
#	tests/unit-tests/product/data-store.php
2016-11-16 15:11:13 +00:00
Mike Jolley ecc503c2c7 Merge branch 'product-crud-test-fixes'
# Conflicts:
#	includes/class-wc-data-store.php
#	woocommerce.php
2016-11-16 15:09:32 +00:00
Mike Jolley 9d435c84a1 Merge branch 'product-crud' 2016-11-16 15:08:03 +00:00
Claudio Sanches 3b4be48a1c [2.6] Exclude webhook_delivery from wp_count_comments(), closes #12344 2016-11-16 12:04:05 -02:00
Claudio Sanches 806c4946cc Merge pull request #12367 from woocommerce/product-crud-test-fixes
Fix product related tests after product CRUD merge
2016-11-16 11:33:26 -02:00
Justin Shreve 85cfe59988 Fix product related tests after product CRUD merge 2016-11-16 05:18:03 -08:00
Justin Shreve a6155c2d7c Add zone_id to get_zones output for ajax. 2016-11-16 04:54:42 -08:00
Justin Shreve 421d0331b6 Make sure we don't try to ->read when creating a new shipping zone. 2016-11-16 04:54:42 -08:00