Commit Graph

34917 Commits

Author SHA1 Message Date
vedanshujain 513b517b5b Show notice to update to latest PHP if version is < 7.2 2020-06-15 21:51:03 +05:30
Peter Fabian a51e94c170
Merge pull request #26732 from woocommerce/update/woocommerce-blocks-2.7
Update woocommerce/woocommerce-blocks to v2.7.0
2020-06-15 16:10:12 +02:00
vedanshujain 34e5d3daa3 Use single sentence for easier translations. 2020-06-15 19:09:52 +05:30
vedanshujain b8a1a69b2b Updated annotations to 4.3 2020-06-15 18:55:00 +05:30
Vedanshu Jain c1a007297e
Merge pull request #26705 from woocommerce/enhancement/protections-reserved-stock
Port enhancement to reserved stock feature from wc-blocks
2020-06-15 18:41:44 +05:30
vedanshujain d21cc596df Return early in release stock function if stock reservation is disabled. 2020-06-15 18:40:03 +05:30
Tam Mullen 8f8b8a0cf2 Updating Security Issue Template 2020-06-15 11:41:00 +01:00
Peter Fabian cf3546a772
Merge pull request #26690 from woocommerce/fix/blocks-pkg-i18n
Translate woocommerce-admin domain in Blocks package
2020-06-15 08:08:08 +02:00
Paul Sealock c7ad889f93 Homescreen: add option and setting 2020-06-15 13:38:02 +12:00
Tam Mullen 8d21028ebf Updated GitHub issue templates to include more details of the information we require. 2020-06-14 21:35:05 +01:00
jonathansadowski 68a5d88dd8
Merge pull request #26726 from woocommerce/fix/26298
Accessibility: Add aria-disabled to update cart button
2020-06-12 10:37:46 -05:00
jonathansadowski 386eecda62
Merge pull request #26729 from woocommerce/fix/26367
Update saving of comment_type for reviews to account for WP 5.5 changes
2020-06-12 10:36:28 -05:00
Ron Rennick 9196b266f6
Merge pull request #26292 from mi5t4n/fix/26271
Fix: Show password toggle not working in checkout page
2020-06-12 10:48:55 -03:00
Ron Rennick e80e9a35a7
Merge branch 'master' into fix/26271 2020-06-12 10:48:39 -03:00
Ron Rennick 14ddcbc8eb
Merge pull request #26250 from mi5t4n/fix/26234
Hide only the tab content under the tab wrapper
2020-06-12 10:18:41 -03:00
Vedanshu Jain 60ffc7ab99
Merge pull request #26583 from woocommerce/fix/26582
Fix regression caused by merging #25092 conflicting with #24828
2020-06-12 15:13:21 +05:30
Ron Rennick 4a8af2ec5d
Merge pull request #26706 from dorelidan/patch-1
Update wc-template-functions.php
2020-06-11 16:23:39 -03:00
Ron Rennick d0dcabb496
Merge pull request #26725 from zackkatz/patch-2
Fix unbalanced tag
2020-06-11 16:19:03 -03:00
Jonathan Sadowski 4d6aad4ecb Encode HTML entities in product attributes 2020-06-11 14:10:05 -05:00
Ron Rennick dd5cd361bc introduce wc_set_template_cache(), wc_clear_template_cache() 2020-06-11 14:06:56 -03:00
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