Commit Graph

27588 Commits

Author SHA1 Message Date
Peter Fabian 55d7ea4ac5 Improved unit tests for products REST API endpoint. 2018-07-09 17:11:50 +02:00
Peter Fabian 6c70064a82 Added test products API for product tag and attributes query parameters. 2018-07-06 16:57:40 +02:00
Peter Fabian e769029af6 Make create_attribute function for PHPUNIT more versatile by removing hardcoding. 2018-07-06 16:08:32 +02:00
Peter Fabian 1091eb5feb PHPCS corrections. 2018-07-06 16:01:49 +02:00
Peter Fabian fe77b9e54f Fixed the variation product helper in unit tests.
Previously, the variable product had 2 variations, but one of them had a term assigned ('large') that wasn't assigned to the parent product. Normally, when variable product is created, parent has all the terms assigned to its children assigned.
2018-07-06 16:00:59 +02:00
Peter Fabian 9c420125a3 Added tests for API query parameters for products endpoint. 2018-07-06 12:58:57 +02:00
Peter Fabian 8fd4777fb4 Fixed PHPCS whitespace. 2018-06-25 10:57:52 +02:00
Peter Fabian ef3d32699c Fixed missing key errors. 2018-06-23 13:55:42 +02:00
Peter Fabian 6ba409b772 Added category related unit tests for products API. 2018-06-23 13:54:36 +02:00
Peter Fabian 60cd5caac2 Fixed terms fetching bug introduced in #20079. 2018-06-23 13:53:50 +02:00
Peter Fabian 97983a2d45 Fixed missing terms in unit tests.
in teardown method, terms are deleted, so e.g. Uncategorized product_cat was only avaialble if test was run individually, not in the whole batch. Should now be fixed.
2018-06-23 13:50:31 +02:00
Peter Fabian 1a3b5b165d Factor out parent table name to variable, allow big SELECT. 2018-06-18 10:15:36 +02:00
Peter Fabian 9ce165d75e Added extra join with parent product to filter variable products from REST API 2018-06-05 13:22:22 +02:00
Claudiu Lodromanean c68b8faa99
Merge pull request #20203 from woocommerce/update/20118
Log errors from transaction emails with logger
2018-06-01 13:43:33 -07:00
Mike Jolley 3f0544450e
Merge pull request #20308 from woocommerce/fix/cache-flush-0
Clear category 0 when deleting caches
2018-06-01 10:32:44 +01:00
Claudiu Lodromanean 07bad6975f
Merge pull request #19951 from woocommerce/update/19745
Eircode validation and formatting
2018-05-31 20:31:46 +01:00
Claudiu Lodromanean a4b9346f66
Merge pull request #19969 from robertdevore/master
Add three new action hooks for admin shipping zone methods
2018-05-31 20:25:34 +01:00
Claudiu Lodromanean d1a90f14da
Merge pull request #20180 from woocommerce/fix/20178
Check billing email is posted before using
2018-05-31 19:57:18 +01:00
Claudiu Lodromanean 205a8fa513
Merge pull request #20125 from woocommerce/fix/20054
Don't force default token gateway active by default
2018-05-31 19:54:42 +01:00
Claudiu Lodromanean 763eb76a33
Merge pull request #20324 from woocommerce/fix/20312
Show empty terms in admin dropdown
2018-05-31 19:39:45 +01:00
Claudiu Lodromanean 5cd2d74883
Merge pull request #20328 from woocommerce/fix/20316
Improve gallery image reset calls
2018-05-31 19:36:13 +01:00
Mike Jolley 18c7e16a72 reset only when needed. 2018-05-31 14:57:01 +01:00
Mike Jolley 25d025c01e Show empty terms in admin dropdown 2018-05-31 11:24:23 +01:00
Peter Fabian 56e35ba033
Merge pull request #20314 from woocommerce/fix/syntax-error
Fix syntax error in i18n/states/IT.php
2018-05-31 09:58:21 +02:00
Robert DeVore ecdf6c3be0
Removed two action hooks 2018-05-30 15:53:04 -04:00
Rodrigo Primo b66b101c9f Fix syntax error in i18n/states/IT.php
Error introduced by commit 7a453b6021 (PR #20286)
2018-05-30 15:40:40 -03:00
Mike Jolley c74540fb1e
Merge pull request #20046 from woocommerce/feature/custom-shipping-calc-data
Allows manipulate cart shipping calculator data
2018-05-30 16:00:21 +01:00
Mike Jolley 79c34ba843
Merge pull request #20089 from woocommerce/fix/20042
Allow oAuth1.0a under SSL
2018-05-30 15:37:45 +01:00
Mike Jolley c90afb9af2
Merge pull request #20286 from SiR-DanieL/patch-3
Updated IT provinces
2018-05-30 14:59:58 +01:00
urosmil 19efe63fe8 Improved wc_add_to_cart_message filter (#19817)
* Improved wc_add_to_cart_message filter

Added product quantity parameter to filter, as it is relevant for construction of message and passed through function call.

* Removed param from deprecated function

Param has been removed from deprecated function as suggested
2018-05-30 14:53:15 +01:00
Mike Jolley e68e8e8273
Merge pull request #20244 from woocommerce/update/20025
Introduce is_paypal_supported_currency check in setup wizard
2018-05-30 14:07:34 +01:00
Mike Jolley 34e27fa930 Missed a json encode 2018-05-30 14:05:06 +01:00
Mike Jolley 2e56d79628
Merge pull request #20246 from boodaah/master
Add anchor tag example to email template preview
2018-05-30 14:03:30 +01:00
Mike Jolley f866349a03
Merge pull request #20251 from Ismail-elkorchi/fix/wc_maybe_define_constant_doc
Update wc_maybe_define_constant Docblock
2018-05-30 14:03:06 +01:00
Mike Jolley c326115db2 Clear category 0 when deleting caches 2018-05-30 13:29:44 +01:00
Rodrigo Primo 5785fa3dc7 3.4.1 changelog 2018-05-29 16:48:31 -03:00
Mike Jolley 34d4c9cca2
Merge pull request #20298 from woocommerce/fix/array-combine-tests
Prevent array_combine errors in old versions of PHP
2018-05-29 18:54:12 +01:00
Mike Jolley 3aef0a842e
Merge pull request #20296 from woocommerce/fix/20295
Add greater specificity to required styling
2018-05-29 18:39:31 +01:00
Mike Jolley b102e7c89b
Merge pull request #20294 from woocommerce/update/php-notice
Remove red styling for PHP notice if using > 5.6
2018-05-29 18:25:33 +01:00
Mike Jolley 75e357c1a9 Prevent array_combine errors in old versions of PHP 2018-05-29 18:13:26 +01:00
Mike Jolley d5770f32eb Add greater specificity to required styling 2018-05-29 16:47:40 +01:00
Mike Jolley 5504f966a4
Merge pull request #20293 from woocommerce/fix/20276
Fix variable attribute selection based on query string and form posts
2018-05-29 15:54:57 +01:00
Mike Jolley bcc1a350ce Remove red styling for PHP notice if using > 5.6 2018-05-29 15:52:01 +01:00
Mike Jolley 5cfd2f0f7a
Merge pull request #20273 from woocommerce/fix/20268
Fix broken product import file uploads on windows
2018-05-29 15:27:40 +01:00
Mike Jolley 800701adb0 Pass varaible 2018-05-29 15:25:11 +01:00
Mike Jolley 89daaebbca
Merge pull request #20241 from woocommerce/update/update-routine
Break up update routine and allow it run to multuple times
2018-05-29 15:19:25 +01:00
Mike Jolley d9d6acb33e
Merge pull request #20290 from woocommerce/fix/20249
If flexslider is disabled, gallery images also need to trigger photoswipe on click
2018-05-29 15:16:28 +01:00
Mike Jolley 511243a54a Encode array keys 2018-05-29 15:04:22 +01:00
Mike Jolley 45d6c55f2a selected logic, with added sanitize_title 2018-05-29 14:32:20 +01:00
Mike Jolley 301e9339a9 Move selected logic to function 2018-05-29 14:31:50 +01:00