Commit Graph

13559 Commits

Author SHA1 Message Date
Claudio Sanches 5cda80330d Webhooks secret not mandatory in REST API 2017-12-01 11:48:38 -02:00
Claudio Sanches 46cfe9e3b6 Fixed docblocks 2017-12-01 11:47:45 -02:00
Claudio Sanches 4d9203b841 Soft deprecated webhook deliveries REST API endpoints 2017-11-30 16:20:20 -02:00
Claudio Sanches 9b5d5b684b Fixed coding standards 2017-11-30 16:05:36 -02:00
Claudio Sanches 5e2628c06b REST API v2 webhooks CRUD implementation 2017-11-29 18:08:08 -02:00
Claudio Sanches bc86192120 REST API v1 webhooks CRUD implementation 2017-11-29 17:44:09 -02:00
Claudio Sanches a70d0109c0 Initial webhooks implementation on REST API v1 2017-11-29 10:23:19 -02:00
Claudio Sanches 3011058757 Applied Webhook CRUD into legacy REST API v3 2017-11-28 18:11:53 -02:00
Claudio Sanches de18b383d0 Applied Webhook CRUD into legacy REST API v2 2017-11-28 18:08:46 -02:00
Claudio Sanches 2f9a8e3f75 Set user_id by defaul while creating webhooks on admin screen 2017-11-28 18:03:55 -02:00
Claudio Sanches 575e2d2224 Advanced webhooks search 2017-11-28 17:39:42 -02:00
Claudio Sanches 88e4d021ab Fixed webhook pagination results 2017-11-28 15:27:31 -02:00
Claudio Sanches 625f50a5bf Allow stdClass in legacy API server add_pagination_headers 2017-11-28 15:11:00 -02:00
Claudio Sanches cc20c1282c Fixed merge 2017-11-28 15:09:54 -02:00
Claudio Sanches c6f8e95b97 Merge branch 'master' into feature/webhook-crud 2017-11-28 15:09:10 -02:00
Claudio Sanches 674d75ef24
Merge pull request #17922 from franticpsyx/public-abstract-product-importer-methods
Re-usable abstract importer methods
2017-11-28 11:10:53 -02:00
Claudio Sanches 8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Manos Psychogyiopoulos 7463182c3f Change abstract importer methods visibility 2017-11-27 17:22:19 +02:00
Claudio Sanches c1c02cd0aa
Merge pull request #17899 from woocommerce/update/17321
Uncategorized category support
2017-11-27 12:46:01 -02:00
Rodrigo Primo e006e14d23 Ignore PHPCS in two instances
Ignoring PHPCS in two lines of the code where apparently it is not possible to fix the violations. I tried using what @claudiosanches suggested in this comment https://github.com/woocommerce/woocommerce/pull/17909#issuecomment-347168029 but both tags didn't work. Lets revisit this when PHPCS 3.2.0 is released and we can selectively disable rules (see https://github.com/squizlabs/PHP_CodeSniffer/issues/604).
2017-11-27 11:00:42 -02:00
Rodrigo Primo 3d6bd30d8a Fix some PHPCS violations in includes/data-stores/abstract-wc-order-data-store-cpt.php 2017-11-24 17:25:31 -02:00
Rodrigo Primo 5e43d92e07 Fix some PHPCS violations in includes/data-stores/class-wc-order-data-store-cpt.php 2017-11-24 17:25:16 -02:00
Gerhard Potgieter 9f8460c97a
Merge pull request #17887 from woocommerce/fix/17880
Only remove base taxes in cart totals class if item is taxable
2017-11-24 11:21:49 +02:00
Gerhard Potgieter d2e9b36612
Merge pull request #17865 from woocommerce/fix/17852
Exclude spam comments from counts
2017-11-24 11:19:32 +02:00
Claudio Sanches 48132a9dbf Fixed coding standards 2017-11-23 16:43:54 -02:00
Claudio Sanches e40138d188 Updated $GLOBALS['post'] data in products shortcode
No need to pass it as reference.
And passing by reference is breaking Divi's page builder.
2017-11-23 16:40:59 -02:00
Mike Jolley 42acec92b9 Force term setting 2017-11-23 16:00:34 +00:00
Mike Jolley 856ae87d54 Update method 2017-11-23 15:44:17 +00:00
Mike Jolley c5a80d080b Rename so delete is hidden 2017-11-23 14:41:17 +00:00
Mike Jolley 3e921e524d Install default cat 2017-11-23 14:38:40 +00:00
Mike Jolley 8dea28e6c2 Save default cat when saving products 2017-11-23 14:26:43 +00:00
Mike Jolley 3dc4277490 Install a default cat 2017-11-23 14:26:34 +00:00
Mike Jolley cd3d61bf98 Add back category filtering which somehow was removed 2017-11-23 14:26:12 +00:00
Rodrigo Primo 5cc84925e3 Typo 2017-11-23 12:17:54 -02:00
Rodrigo Primo 5f0e722ca4 Fix PHPCS violations in includes/wc-update-functions.php 2017-11-23 12:17:21 -02:00
Rodrigo Primo de5a21dcb0 Fix PHPCS violations in includes/class-wc-install.php 2017-11-23 12:16:47 -02:00
Rodrigo Primo e12fa54bc6 phpcbf automatic coding standard fixes 2017-11-23 12:16:47 -02:00
Mike Jolley 85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
Mike Jolley b7d8d63c3d
Merge pull request #17870 from woocommerce/update/bump-wp-version
Bump "Requires at least" version
2017-11-23 11:52:48 +00:00
The Dramatist 8ac49d448b Unused parameter removed form get_filters method of WC_Helper class. (#17888) 2017-11-23 11:49:12 +00:00
Mike Jolley 5a4e85b5f5 Tweak total_comments 2017-11-23 11:17:23 +00:00
Mike Jolley 6ef391666f Only remove base taxes in cart totals class if item is taxable
Fixes #17880
2017-11-23 11:08:10 +00:00
urosmil 18e7b25eab Filter for line items in abstract-wc-order.php (#17759)
* Filter for line items in abstract-wc-order.php

When creating custom product class there are places where line items is only value that can be handled. This is one of that places causing subtotal values after checkout not to be calculated and displayed.

* Extension to woocommerce_order_get_items filter

This is extension to filter as get_items() is used for different classes and types. This way it would be possible to distinct which type is called for items.

* Removed filtering inside subtotal function

$types parameter is added as parameter for filter inside get_items() function so previous commit is reverted as there is no need for it.
2017-11-23 10:00:03 +00:00
Claudiu Lodromanean 9a95441c61
Merge pull request #17872 from woocommerce/fix/17508
Properly handle deprecated hooks
2017-11-22 14:34:15 -08:00
claudiulodro 32347c5470 Fix legacy API include paths 2017-11-22 10:28:02 -08:00
Claudio Sanches 1034a4bd38
Merge pull request #17867 from woocommerce/update/17851
Use an action/option rather than cron to queue rule flushing
2017-11-22 16:11:47 -02:00
Claudio Sanches 1f156620e3
Merge pull request #17866 from woocommerce/fix/17850
Confirm navigation if nonce has expired in reports.
2017-11-22 16:09:38 -02:00
Claudio Sanches 4b5f0c98d7 Fixed coding standards 2017-11-22 15:25:27 -02:00
Claudio Sanches 69c8a87f41 Display correct deprecated version for hooks 2017-11-22 15:21:32 -02:00
Claudio Sanches 11772ca015 Fixed coding standards 2017-11-22 14:55:12 -02:00