Commit Graph

1350 Commits

Author SHA1 Message Date
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
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
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 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
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
Mike Jolley 8d6bbabc58
Merge pull request #19929 from woocommerce/fix/19924-parent-id-0-categories
Parent:0 terms via API PUT/POST
2018-05-04 18:56:15 +01:00
Gerhard Potgieter c2dbc0c887 Keep taxonomy_hierarchical test in place 2018-05-04 08:50:14 +02:00
Peter Fabian 92180d2b42 Add scheme to widget id when caching objects.
This should prevent cache from serving mixed content when widget cache is preloaded with http version, then accessed via https.
2018-05-03 14:10:04 +02:00
Boro Sitnikovski 194dba40e2 Make sure devs pass their own unique ID and use localisation for constructor 2018-05-03 10:47:30 +02:00
Boro Sitnikovski 1cfa6c6e4e Per discussion with Mike, use id when adding exporters/erasers 2018-05-03 10:36:11 +02:00
Boro Sitnikovski 0d981a000a Update abstract class to use associative arrays 2018-05-03 10:08:29 +02:00
Gerhard Potgieter a43ac9acae No need to do checks of parent, WordPress does all the checks when running wp_insert_term and wp_update_term 2018-05-03 08:19:16 +02:00
Peter Fabian 8789642fb9 Add protocol to URLs for thumbnails in cart.
Removed wc_get_relative_url(), as it's not used anymore.
2018-05-02 14:34:50 +02:00
Mike Jolley 2e78259452 Compatibility with 4.9 branch 2018-05-02 11:45:02 +01:00
Gerhard Potgieter 992a46c513 Do not unset parent_id when 0 but actuall handle 0 as it can be passed to wp_insert_term. 2018-05-02 12:19:56 +02:00
Gerhard Potgieter 61e624b937 Allow parent:0 param passing when updating a term via the API 2018-05-02 08:44:06 +02:00
Gerhard Potgieter 2124972232 If 0 is supplied as parent ID simply remove it before creating the term. 0 means no parent. 2018-05-02 08:31:28 +02:00
Mike Jolley f59acf1350 Merge branch 'master' into update/erasure-requests 2018-05-01 13:46:53 +01:00
Mike Jolley e6eaa4f83c Fix colorpicker styling 2018-04-26 12:21:17 +01:00
Mike Jolley 091d5326f2 Update abstract class and privacy code 2018-04-26 11:29:51 +01:00
Boro Sitnikovski 92cd1ec0d8 Abstract out privacy class so that extensions can easily re-use it 2018-04-25 02:13:59 +01:00
Mike Jolley 314d949d2c Background process to cleanup 2018-04-17 15:21:03 +01:00