Commit Graph

1367 Commits

Author SHA1 Message Date
Claudio Sanches 7d07d52279 Allow _fields 2018-07-24 15:52:48 -03:00
Claudio Sanches 99840c3914 Merge branch 'master' into feature/rest-api-v3 2018-07-12 16:07:57 -03:00
Claudio Sanches 9b7fbff544
Merge pull request #20686 from woocommerce/fix/20673
Replaced query attribute placeholder with actual value for header link.
2018-07-10 15:22:30 -03:00
Claudiu Lodromanean e8a2e19b27
Merge pull request #20648 from woocommerce/update/crud-get-image
Custom tables: Get image from ID, not post thumbnail
2018-07-09 11:04:52 -07:00
Peter Fabian 70d876d122 Replaced query attribute placeholder with actual value for header link. 2018-07-02 16:02:54 +02:00
Mike Jolley ddb779e917 Check type correctly 2018-06-29 11:22:03 +01:00
Mike Jolley a6c5065718
Merge pull request #20633 from aelia-co/tweak-shipping_method_add_rate_filter
Added new filters when adding shipping rates
2018-06-28 14:29:28 +01:00
Mike Jolley 64b589f032 Get image from ID, not post thumbnail 2018-06-28 13:10:25 +01:00
Diego Zanella 9c9bdb0b2e Changed prefix for new filters to "woocommerce_shipping_method_" 2018-06-27 22:00:25 +01:00
Claudiu Lodromanean 2a3cedddcd
Merge pull request #20520 from woocommerce/feature/product-custom-tables-supporting-changes
Product custom tables supporting changes
2018-06-27 08:57:50 -07:00
Diego Zanella ab3b6b5433 Fixed call to filter woocommerce_shipping_add_rate_args 2018-06-27 16:09:22 +01:00
Diego Zanella 25817b9236 Added new filters when adding shipping rates
Ref. https://github.com/woocommerce/woocommerce/issues/20632
2018-06-26 20:15:54 +01:00
Bharat Kambariya fdeadcdbea fix param doc for update_meta and add_meta fn. 2018-06-21 11:47:18 +05:30
Claudiu Lodromanean ec5fcc333e
Merge pull request #20573 from woocommerce/fix/20521
Update status based on stock, always
2018-06-19 07:41:55 -07:00
Mike Jolley 0cee6a69b0 Update status based on stock, always 2018-06-19 13:35:17 +01:00
David Marín f28b00d5df
Fixing bug: I was casting the wrong value 😖 2018-06-19 13:31:48 +02:00
Gerhard Potgieter 90387e7d7e Revert "Deprecate manage_stock methods in favor of stock_status methods."
This reverts commit 2d9c058876.
2018-06-19 11:54:07 +02:00
Gerhard Potgieter 2d9c058876 Deprecate manage_stock methods in favor of stock_status methods.
Closes https://github.com/woocommerce/woocommerce-product-tables-feature-plugin/issues/100
2018-06-19 11:35:57 +02:00
David Marín 6649569aa2
Update abstract-wc-settings-api.php 2018-06-19 07:12:39 +02:00
David Marín 597ba7df98
Cast multiselect keys as strings 2018-06-19 06:41:44 +02:00
Rodrigo Primo b6e73f528b Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-06-15 14:56:31 -03:00
Claudiu Lodromanean 25be9fc13c
Merge pull request #20546 from woocommerce/fix/20509
Normalize parent tax class
2018-06-15 09:23:27 -07:00
Risto Niinemets 174fd95765 fix undefined index attribute in layered nav widget without attributes (#20544) 2018-06-15 15:20:21 +01:00
Mike Jolley a8e2eaee2a Normalize parent tax class 2018-06-15 11:35:22 +01:00
Claudiu Lodromanean 4c47574d7c
Merge pull request #20533 from woocommerce/fix/20505
Round items for order total
2018-06-14 09:11:57 -07:00
Claudiu Lodromanean cdee048337
Merge pull request #20531 from woocommerce/fix/20519
Shipping tax may be a string, so cast it
2018-06-14 08:25:09 -07:00
Mike Jolley 893e6affb1 Revert this change - no issue, just keeping diff small 2018-06-14 12:56:21 +01:00
Mike Jolley 90c90591f3 Round items for order total 2018-06-14 12:52:13 +01:00
Mike Jolley aa4a89f92d Shipping tax may be a string, so cast it
Fixes #20519
2018-06-14 11:49:45 +01:00
Mike Jolley 812586742b Allow only valid default attributes 2018-06-13 14:33:13 +01:00
Mike Jolley cfe1cb5c16 Handle login and change events 2018-06-12 15:32:01 +01:00
Mike Jolley 10a5779fd1 wp_localize_script 2018-06-12 14:57:44 +01:00
Mike Jolley 52a7fafd74 Search for matching keys when updating meta data 2018-06-11 12:50:49 +01:00
Claudiu Lodromanean 839d52d153
Merge pull request #20390 from woocommerce/fix/20369
Clear needs_processing transient when adding a product to an order
2018-06-05 06:56:14 -07:00
TheDramatist 1d923bd7a0 WC_Abstract_Privacy PHPDoc Fixed (#20368)
* WC_Abstract_Privacy PHPDoc Fixed

* Unnecessary spaces removed
2018-06-05 13:29:20 +01:00
Mike Jolley 813db4c7f1 Clear needs_processing transient when adding a product to an order 2018-06-05 11:28:45 +01:00
Diego Zanella 18731221fa Added order to "woocommerce_order_is_vat_exempt" filter arguments 2018-06-04 11:01:15 +01:00
Mike Jolley a05059f3eb redundent check 2018-05-24 20:44:02 +01:00
Mike Jolley 4cdae90aa4 Avoid new method
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:41:20 +01:00
Mike Jolley 974d33eb85 Prevent action running for non-instance screens
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:35:48 +01:00
Claudio Sanches fc6da6d4ee Introducing inline documention to WC_REST_Controller 2018-05-22 13:44:00 -03:00
Marcin Bot 5130edf566 WC_Abstract_Privacy allow to specify filters' priority 2018-05-18 16:07:36 +01:00
Mike Jolley d25bd2dd33 Fix rounding of line items for orders 2018-05-15 23:18:39 +01:00
Claudiu Lodromanean 7a6b0d8cf5
Merge pull request #19934 from woocommerce/fix/19819
Add protocol to URLs for thumbnails in cart.
2018-05-09 10:09:17 -07:00
Mike Jolley 14cbf7b0f0 Pass scheme without hyphen 2018-05-09 17:06:34 +01:00
Claudiu Lodromanean ec02a133a3
Merge pull request #20021 from woocommerce/fix/19967
Switch stock status when manage stock gets changed and qty is sufficient.
2018-05-09 07:21:59 -07:00
Peter Fabian 424213bc17 Applied the filter inside the function.
Added optional scheme parameter and @since docstring according to the code review.
2018-05-09 09:42:28 +02:00
Mike Jolley 3b5dfcb80b Settings API should force autoload on by default. 2018-05-08 11:12:40 +01:00
Peter Fabian 8a8f085dcf Added back extra parameter for backwards compatibility. 2018-05-08 10:16:53 +02:00
Peter Fabian c2493310d9 Switch stock status when manage stock gets changed.
As the stock quantity might be saved in the database from previous settings, stock_status needs to be in sync if qty is > 0.
2018-05-07 16:01:59 +02:00