Commit Graph

1326 Commits

Author SHA1 Message Date
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
Mike Jolley d8814f9381 tip alignment 2018-04-17 12:19:01 +01:00
Mike Jolley 094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
JeroenSormani 4e6b0dc500 Doc improvements (return types mostly) 2018-04-12 09:10:14 +02:00
Claudio Sanches 900c8fc33f
Merge pull request #19380 from woocommerce/update/19302
Override supports for PayPal to see if credentials exist
2018-04-06 15:44:42 -03:00
Brian Henry b6f1f68a00
Documentation punctuation fixes: its = posessive 2018-04-05 19:45:14 -07:00
Mike Jolley 5ac7aac369 Improve can_refund_order and add unit tests 2018-04-03 17:09:09 +01:00
Mike Jolley d02106f697 Merge branch 'master' into pr/18596 2018-04-03 16:24:19 +01:00
Mike Jolley 51d634e29a Ensure background process class returns `data` as an array
Fixes #19524
2018-03-29 11:09:41 +01:00
Claudio Sanches b0617a13c4 Removed unnecessary ternary operators 2018-03-21 20:05:19 -03:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Claudiu Lodromanean b6c1a9d2c1
Merge pull request #19220 from woocommerce/fix/19218
Only append tax label if taxes are enabled
2018-03-05 09:26:10 -08:00
Gerhard Potgieter 5075fb4964 PHPCS passing for abstract-wc-widget.php 2018-03-05 15:21:04 +02:00
Gerhard Potgieter 17f013b5b1 PHPCS passing for abstract-wc-shipping-method.php 2018-03-05 15:08:55 +02:00
Gerhard Potgieter f56c6366c1 PHPCS passing for abstract-wc-settings-api.php 2018-03-05 15:01:21 +02:00
Gerhard Potgieter d968621afb PHPCS passing for abstract-wc-session.php 2018-03-05 15:00:52 +02:00
Gerhard Potgieter ba1e7d1e99 PHPCS passing for abstract-wc-rest-shipping-zones-controller.php 2018-03-05 14:59:35 +02:00
Gerhard Potgieter 74ec8a4a14 PHPCS passing for abstract-wc-rest-posts-controller.php 2018-03-05 14:58:28 +02:00
Gerhard Potgieter fb3afa672d PHPCS passing for abstract-wc-rest-crud-controller.php 2018-03-05 14:55:17 +02:00
Gerhard Potgieter 5dcfeac7c1 PHPCS passing abstract-wc-rest-controller.php 2018-03-05 14:52:49 +02:00
Gerhard Potgieter 7f2362aab1 PHPCS passing abstract-wc-product.php 2018-03-05 14:46:34 +02:00
Gerhard Potgieter cb87a0ee54 PHPCS passing for abstract-wc-payment-token.php 2018-03-05 13:54:54 +02:00
Gerhard Potgieter 940ab475d4 PHPCS passing for abstract-wc-payment-gateway.php 2018-03-05 13:48:54 +02:00
Gerhard Potgieter 440358a4f2 PHPCS passing for abstract-wc-order.php 2018-03-05 13:41:04 +02:00