Commit Graph

35096 Commits

Author SHA1 Message Date
Zack Katz 7a7f33f2a1
Fix undefined index PHP warning
![](https://i.gravityview.co/gtGvNE+)
2020-06-01 14:32:19 -06: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
Gregory Karpinsky 3d02da9a03
Update wc-template-functions.php
Fix variable name in docblock
2020-05-31 08:43:44 -04:00
Gregory Karpinsky 42bc3d3bf3
Update class-wc-shortcode-products.php
Spelling in a comment
2020-05-31 08:27:14 -04:00
Claudio Sanches 9d8af073cf
Update since tag to 4.3.0 2020-05-29 13:45:00 -03:00
Claudio Sanches 5db7e0f3f3 Removed "Avannaata Kommunia" from Ghanaian regions 2020-05-29 11:09:44 -03:00
Ron Rennick 1215844b05 update timezone unit tests to support WP 5.3/5.4 2020-05-29 08:29:35 -03:00
Ron Rennick 7fbe912e19 use wp_timezone_string when available 2020-05-29 07:54:43 -03:00
Remi Corson c996434bc1 Fix #26633
Adds custom message upon taxonomies update
2020-05-29 10:58:36 +02:00
Nestor Soriano b43679c181 Schedule a deferred product sync for products with parent on delete.
Right now, when a product having a parent (e.g. a variation having a
parent variable product) is saved, wc_deferred_product_sync is
executed so that product sync is performed at the end of the request.
This commit implements the same when the product is deleted.
2020-05-28 14:07:51 +02:00
Peter Fabian 2394da73b4 Merge branch 'master' into refactor/23783 2020-05-28 11:19:03 +02:00
Peter Fabian 30fe1cde72 Moved unit tests to the new location. 2020-05-28 11:18:47 +02:00
Peter Fabian fabebd9c6a
Merge pull request #26614 from spacedmonkey/patch-1
Add requires headers in plugin
2020-05-28 09:55:51 +02:00
Jonny Harris 3a9f8875c5
Update woocommerce.php 2020-05-27 23:44:30 +01:00
Christopher Allford efebb4058d Marked all of the feature plugin packages as ignored in the renovate config
Since we're going to require package updates to follow a specific PR template, it doesn't make much sense to automatically submit a PR for this through renovate.
2020-05-27 13:49:54 -07:00
vedanshujain bbb7600f87 Add unit test for calculation based on rounding pref 2020-05-27 23:55:46 +05:30
vedanshujain d904db815d Disable flaky test which was causing many calculation tests to fail. 2020-05-27 23:53:20 +05:30
vedanshujain 3dc7df7af9 Use common code and round in subtotal.
We round in `get_subtotal` because its a front-end method. If more precision is required then `get_cart_subtotal_for_order` needs to be called. Also use same `get_cart_subtotal_for_order` method here as well for consistency.
2020-05-27 23:48:47 +05:30
Peter Fabian 137cc4f150
Merge pull request #26615 from woocommerce/update/readme-sync-pre4.2
Updated readme: stable version to 4.1.1 and changelog for 4.2
2020-05-27 19:10:14 +02:00
Peter Fabian d71f223bb2 Readme bumped to 4.3
As it's past the point of creating release/4.2 branch.
2020-05-27 16:58:11 +02:00
Peter Fabian bd2130c425 Merge branch 'update/readme-sync-pre4.2' of https://github.com/woocommerce/woocommerce into update/readme-sync-pre4.2 2020-05-27 16:55:28 +02:00
Peter Fabian 70cfd12f0e Updated readme: stable version to 4.1.1 and changelog for 4.2 2020-05-27 19:42:56 +05:30
vedanshujain 8f9bf9042d Update changelog till 4.1.1 2020-05-27 19:38:23 +05:30
vedanshujain d1052621a3 Update stable tag 2020-05-27 19:38:09 +05:30
Peter Fabian 73138440ce Updated readme: stable version to 4.1.1 and changelog for 4.2 2020-05-27 15:57:05 +02:00
Jonny Harris 34163a613b
Add requires headers in plugin 2020-05-27 13:58:41 +01:00
Menaka S 0fa121b810 Remove html tags from plain text email template 2020-05-27 17:07:10 +05:30
Christopher Allford 69e3835041
Merge pull request #26600 from woocommerce/fix/26599
Don't allow redirection while checking for uploads directory
2020-05-26 14:39:35 -07:00
Claudio Sanches 2acc24f489 Added missing trailing slash 2020-05-26 17:23:37 -03:00
vedanshujain 440f40a976 Changed back method to private because we figured a workaround in earlier test 2020-05-26 23:59:28 +05:30
vedanshujain af942a131a Add test to ensure that verify_base_table also creates table if needed. 2020-05-26 23:46:58 +05:30
vedanshujain e89ee25f36 Better option names to properly describe their intention.
Additionally, allow an option in `verify_base_tables` to call `create_table` method. This will be useful if someone wants to fix the their database.
2020-05-26 23:26:45 +05:30
Julia Amosova 55c29af44d
Merge pull request #26596 from woocommerce/fix/26511
Add asterisk to star rating if 'Star ratings should be required, not optional' checkbox is enabled
2020-05-26 13:45:30 -04:00
Peter Fabian fdb0ac35f2
Merge pull request #26485 from woocommerce/renovate/woocommerce-woocommerce-admin-1.x
Update dependency woocommerce/woocommerce-admin to v1.2.3
2020-05-26 19:39:54 +02:00
Albert Juhé Lluveras 9438f0f419 Twenty Twenty: remove underline from discounted prices 2020-05-26 18:51:25 +02:00
Claudio Sanches a240798362 Don't allow redirection while checking for uploads directory 2020-05-25 10:31:58 -03:00
Julia Amosova 4756d4c911 Add asterisk to star ratings if required checkbox is enabled 2020-05-24 18:27:08 -04:00
Alex a581daf3dc fix #26209 - email link color clash 2020-05-23 14:07:09 +01:00
Mário Valney 04ceaa52f9
Fix: remove HTML from error message. 2020-05-22 21:14:43 -03:00
Renovate Bot 4d4e327df6
Update dependency woocommerce/woocommerce-admin to v1.2.3 2020-05-22 19:24:14 +00:00
vedanshujain 57d336433a Fix regression caused by merging #25092 conflicting with #24828 2020-05-22 22:08:42 +05:30
Christopher Allford 1d216d3a98
Merge pull request #26559 from woocommerce/fix/update-jp-autoloader
Updated the Jetpack Autoloader
2020-05-22 07:13:26 -07:00
vedanshujain 418741a0b2 Add unit test for verify_base_tables function 2020-05-22 18:32:04 +05:30
vedanshujain fafa44bde0 Modified notice to also handle when REST API does not have verify tool. 2020-05-22 18:32:03 +05:30
vedanshujain f5afddd4c9 Add support for notices 2020-05-22 18:32:03 +05:30
vedanshujain 3acc03c804 Add `verify_base_db` method to check if all base tables are present.
Optionally, also adds a notice in case all db tables are not present. Returns list of tables.

Note that we only check missing tables and don't care about exact table structure because many time tables are modified by merchants to better suit their needs (indexes, collations etc).
2020-05-22 18:30:11 +05:30
Christopher Allford 93811e0a56
Merge pull request #25753 from woocommerce/fix/25752-wc_get_shipping_method_count-check-enabled
Add is_enabled=1 check in wc_get_shipping_method_count()
2020-05-21 11:44:36 -07:00