Peter Fabian
296112cbea
Merge pull request #26237 from woocommerce/fix/24000
...
Fix adding product variant to cart using `add-to-cart` parameter (#24000 )
2020-06-11 13:13:12 +02:00
Peter Fabian
439562e854
Merge pull request #23971 from woocommerce/refactor/23783
...
Better template caching for container environments
2020-06-11 10:13:46 +02:00
Ron Rennick
d4f2fd0044
Merge pull request #26525 from helgatheviking/feature/find-variations-with-custom-attributes
...
Allow onFindVariation to accept custom attributes
2020-06-10 14:04:31 -03:00
Claudio Sanches
feada5e092
Make pre-push compatible with multiple environments
2020-06-10 01:20:15 -03:00
Claudio Sanches
d3b8e4f66a
Added pre-push hook to prevent accidental pushes to master
2020-06-10 00:40:48 -03:00
Jonathan Sadowski
5b232ff489
Export: properly escape commas in attribute values
2020-06-09 16:01:32 -05:00
Christopher Allford
c680f88de2
Added the changelog from 4.2.0
2020-06-09 13:57:30 -07:00
Julia Amosova
ed41b146d6
Merge pull request #26728 from woocommerce/fix/26722
...
Add 47 Kenya counties
2020-06-09 10:26:35 -04:00
Albert Juhé Lluveras
0bd26f3615
Update woocommerce/woocommerce-blocks to v2.7.0
2020-06-09 12:19:29 +02:00
Jonathan Sadowski
f9731bb2ed
Update saving of comment_type for product reviews to account for WP 5.5 default comment_type
2020-06-08 17:36:34 -05:00
Julia Amosova
f2a30c756f
Add 47 Kenya counties
2020-06-08 17:27:38 -04:00
Zack Katz
846f8ab4fe
Fix unbalanced tag
2020-06-08 14:08:00 -06:00
Jonathan Sadowski
e13f763587
a11y: Add aria-disabled to update cart button
2020-06-08 15:05:27 -05:00
Julia Amosova
6d3ce36fb4
Merge pull request #26720 from woocommerce/fix/26665
...
Remove check for existing term when parsing category via CSV & instead catch an existing term error when adding new category to the database
2020-06-08 16:04:31 -04:00
Julia Amosova
7982efb3df
Fix the @return description of the CSV Import categories parsing function
2020-06-08 15:03:00 -04:00
Julia Amosova
ea17484e42
Remove check for existing term when parsing category & add better error handling
2020-06-07 20:59:23 -04:00
Dor Elidan
4b6e56b02a
Update wc-template-functions.php
2020-06-05 18:22:34 +03:00
vedanshujain
79e13edff0
This commit adds two changes for reserved stock functionality:
...
1. Use '0000-00-00 00:00:00' instead of CURRENT_TIMESTAMP as default value to support MySQL 5.6
2. Return early if DB version is less than 430 because then it would mean that required wc_reserved_stock table might not be present.
2020-06-05 19:20:06 +05:30
vedanshujain
e00f79417f
Alert in status report if base table is not present.
...
Also add a tool to rerun the check. This needs newer API version to work.
2020-06-05 18:26:49 +05:30
Vedanshu Jain
b45373fe0c
Revert "Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout""
2020-06-05 15:18:01 +05:30
Vedanshu Jain
6564847802
Merge pull request #26454 from woocommerce/enhancement/verify-db
...
Add `verify_base_db` method to check if all base tables are present.
2020-06-05 15:15:39 +05:30
vedanshujain
e0de059f23
Use seperate db version to better track changes
2020-06-04 22:38:13 +05:30
vedanshujain
4fce106f14
Use `_` instead of `-` as per convention.
2020-06-04 20:33:38 +05:30
Peter Fabian
f508577027
Translate wc admin domain also in Blocks package.
2020-06-04 12:39:26 +02:00
Christopher Allford
ffe2257f2d
Removed the notice for untested minor version updates
...
With the increased cadence of releases it becomes necessary that we address the `WC tested up to` header's usefulness. It isn't practical to require everyone to update their extensions every month, especially given that we are only doing backwards compatible minor releases. The only case I can think of where we might want to check the minor version is if the Stable tag on Core is downgraded, but due to the naming of the header, this doesn't make any sense.
I considered making this a wildcard of some kind but I think most would bind to a full major version anyway and so this isn't worth the time to add it. As an aside, the tests in `plugin-updates.php` seem to indicate that a header of `WC tested up to: 4` would apply to the entire major version cycle, so wildcards already exist!
2020-06-03 14:36:06 -07:00
Ron Rennick
0265e027ef
Merge pull request #26637 from woocommerce/fix/wc_timezone_string
...
use wp_timezone_string when available
2020-06-03 15:41:47 -03:00
Claudio Sanches
3701f0a82b
Merge pull request #26542 from woocommerce/tweak/add-shipping-actions
...
Add actions before/after shipping calculation
2020-06-03 11:25:10 -03:00
Claudio Sanches
bf042a428d
Merge pull request #25321 from grey-rsi/status_widget_stock_rows
...
Add filters for status_widget_stock_rows queries
2020-06-03 11:22:20 -03:00
Claudio Sanches
4922c34180
Merge pull request #26136 from woocommerce/feature/code-hacker-for-unit-tests
...
Code hacker for unit tests
2020-06-03 08:41:28 -03:00
Nestor Soriano
32dac2486f
Update autoload-dev in composer.json to add tests/tools directory
...
The mapping of the "Automattic\WooCommerce\Testing\Tools\" namespace
to the "tests/tools" directory is moved from manual registration
inside the tests bootstrap constructor to a declaration inside the
autload-dev section in composer.json.
2020-06-03 09:28:54 +02:00
Claudio Sanches
6ddc3beb43
Merge pull request #26624 from woocommerce/fix/ignore-packages-renovate
...
Removed feature plugin packages from renovate updated
2020-06-02 22:11:10 -03:00
Claudio Sanches
7ad0b63d14
Merge pull request #26676 from woocommerce/fix/distignore-2
...
Fixed paths in .distignore
2020-06-02 21:03:06 -03:00
Claudio Sanches
cfe022c20a
Fixed paths in distignore
2020-06-02 19:44:35 -03:00
Claudio Sanches
919276fd90
Merge pull request #26403 from woocommerce/update/add-contributors-from-pkgs
...
Added packages to list of contributors.
2020-06-02 19:00:42 -03:00
Claudio Sanches
e566949dac
Merge pull request #26674 from woocommerce/fix/destignore
...
Updated .distignore to exclude directories only from root
2020-06-02 17:39:21 -03:00
Claudio Sanches
6be6613293
Updated .distignore to exclude directories only from root
...
Also excludes "webpack.config.js" file now.
2020-06-02 17:19:14 -03:00
Julia Amosova
8fe149d56d
Merge pull request #26670 from woocommerce/tweak/26123
...
Add note to Products Importer description that TXT files are also supported.
2020-06-02 15:00:36 -04:00
Claudio Sanches
adca2cb73d
Merge pull request #26644 from tivnet/patch-6
...
class-wc-shortcode-products.php - fix spelling in a comment
2020-06-02 15:56:16 -03:00
Nestor Soriano
bfda3f9938
Code hacker resdesign for single-load of code files.
...
The code hacker as originally designed, as a mechanism that allowed
to enable hacks at the individual test level, is flawed because it
assumes that code files are loaded before each test, but actually
the PHP engine loads code files only once.
Therefore this commit redesigns it so that the two existing main hacks,
the functions mocker and the static methods hacker, are applied
to all the relevant functions and classes at bootstrap time, and
mocks for each individual function/method can be registered at the
beginning of each test. See README for the full details.
2020-06-02 19:06:53 +02:00
Julia Amosova
479cac4fc0
Add note to Products Importer that TXT files are also supported.
2020-06-02 12:55:06 -04:00
Julia Amosova
437d442f4c
Merge pull request #26666 from woocommerce/fix/26664
...
Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of System Status Report
2020-06-02 11:50:36 -04:00
Claudio Sanches
5bf9a83e58
Fixed docblock
2020-06-02 12:17:59 -03:00
Claudio Sanches
2267dcfe7e
Updated since tags
2020-06-02 12:16:54 -03:00
Julia Amosova
f929bacfc6
Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of SSR.
2020-06-02 11:12:47 -04:00
Sergey Ratushnuy
ec91a7c3fc
Small fix
2020-06-02 15:05:44 +03:00
Claudio Sanches
6afbed0c14
Fixed coding standards
2020-06-01 23:55:17 -03:00
Claudio Sanches
41ff8ec073
Merge pull request #26639 from woocommerce/fix/26273
...
Removed "Avannaata Kommunia" from Ghanaian regions
2020-06-01 16:10:16 -03:00
Claudio Sanches
063ed4f062
Merge pull request #26645 from tivnet/patch-7
...
wc-template-functions.php - Fix variable name in docblock
2020-06-01 16:09:50 -03:00
Claudio Sanches
855b1d3b6b
Added docblocks and removed $this
2020-06-01 14:35:31 -03:00
Boro Sitnikovski
dd512c6f40
Move filter out of abstract class and into the manager class
2020-06-01 19:25:18 +02:00