Ron Rennick
ce70d6ad7a
add Google weblight user agent check
2020-06-24 14:26:25 -03:00
Dan Bitzer
25fbe58872
Add order note action docblock
2020-06-24 09:35:46 +09:30
Claudio Sanches
f4d11c89f3
Merge branch 'master' into issue-24266-solution
2020-06-23 16:47:30 -03:00
Ron Rennick
e9f71ac24c
Merge pull request #26802 from woocommerce/fix/25833
...
introduce woocommerce_enable_nocache_headers filter
2020-06-23 13:35:13 -03:00
Ron Rennick
e56ef185b0
Merge pull request #26809 from woocommerce/fix/25606
...
remove privacy page dropdown
2020-06-23 13:34:33 -03:00
Claudio Sanches
6890251b0e
Fixed typos and coding standards
2020-06-23 11:51:19 -03:00
Claudio Sanches
3bb7f30c01
Merge branch 'master' into fix/25561
2020-06-23 11:23:29 -03:00
Claudio Sanches
f2299ecfa8
Fixed coding standards
2020-06-23 11:09:21 -03:00
Dan Bitzer
9cddd9ae18
Add `woocommerce_order_note_added` action
...
This action provides an easier way to perform an action when a non-customer order note is added.
2020-06-23 16:55:08 +09:30
Ken Gagne
bc210d6db1
Add login link for existing account
...
When a logged-out user tries to check out with an email address associated with an existing account, they are prompted to log in. This PR updates that prompt with a link to the login form. Though other opportunities to log in should already exist elsewhere on the checkout page (such as `form-login.php`'s "Returning customer?" prompt), this change makes it more explicit and intuitive.
2020-06-22 09:57:28 -06:00
Ron Rennick
4a9fb66a39
update comment to accurate description
2020-06-18 10:56:31 -03:00
Ron Rennick
a88a708286
remove privacy page dropdown
2020-06-18 10:40:17 -03:00
Ron Rennick
6743073a0f
introduce woocommerce_enable_nocache_headers filter
2020-06-17 15:02:09 -03:00
Daniel Morell
94e317f9f8
Fixed wc_get_order function name
...
The WC_Abstract_Order __construct() method doc block had the wc_get_order() method referred to as get_order().
2020-06-17 10:49:40 -05:00
Ron Rennick
3763d3b428
Merge pull request #25982 from leewillis77/feature/add-label-to-taxonomies
...
Add label to unlabelled taxonomies
2020-06-17 10:54:50 -03:00
Peter Fabian
14a26aca2c
Update min files and selectWoo
2020-06-16 17:15:12 +02:00
Peter Fabian
418d95298a
Merge branch 'master' into update/wc-admin-1.3.0-beta-1
...
# Conflicts:
# composer.lock
2020-06-16 14:58:43 +02:00
Peter Fabian
35ee21f837
Merge pull request #26754 from woocommerce/fix/25544
...
Encode HTML entities in product attributes
2020-06-16 14:29:19 +02:00
Peter Fabian
bb2cf2e8dc
Removed deprecated method call.
2020-06-16 13:18:05 +02:00
Peter Fabian
ce740fdb44
Merge pull request #26739 from woocommerce/fix/24800
...
Export: properly escape commas in attribute values
2020-06-16 12:56:40 +02:00
Peter Fabian
dc0d567137
Merge pull request #26775 from woocommerce/update/php7.2
...
Show notice to update to latest PHP if version is < 7.2
2020-06-16 12:56:15 +02:00
Peter Fabian
c35c4f1f08
Merge pull request #26395 from woocommerce/revert-26226-revert-25708-update/reserve-stock-for-checkout
...
Introduce a `reserved stock` class and database table to prevent race conditions during checkout
2020-06-16 11:38:10 +02:00
Peter Fabian
32037e37dd
Merge pull request #26625 from woocommerce/add/homescreen-option
...
Homescreen: Enable for new stores and add Features Setting section
2020-06-15 21:54:06 +02:00
Peter Fabian
0c96b1452d
Merge pull request #26685 from woocommerce/fix/26248
...
Removed the notice for untested minor version updates
2020-06-15 21:40:22 +02:00
Vedanshu Jain
8dcb48219b
Merge pull request #26752 from woocommerce/fix/25143
...
Add template cache clearing
2020-06-15 23:47:24 +05:30
vedanshujain
513b517b5b
Show notice to update to latest PHP if version is < 7.2
2020-06-15 21:51:03 +05:30
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
Paul Sealock
c7ad889f93
Homescreen: add option and setting
2020-06-15 13:38:02 +12: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
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
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
Peter Viszt
4a60386560
Removed duplicated class from the HU city field
2020-06-10 17:54:12 +02:00
Jonathan Sadowski
5b232ff489
Export: properly escape commas in attribute values
2020-06-09 16:01:32 -05: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
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
Claudio Sanches
5dc84e6d0f
Update includes/class-wc-countries.php
...
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2020-06-05 14:46:03 -03: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
Claudio Sanches
a240547fda
Puerto Rico: Make city hidden and change state to Municipality
2020-06-05 10:14:52 -03:00
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
Claudio Sanches
418896ea86
Removed States from Puerto Rico and better address formatting
2020-06-04 17:18:17 -03:00
Viszt Péter
1724507a0e
Fixes for Hungarian address format and name order
...
Missing address-field class for Japan's postcode and state field
Checkout layout fixes on country change
2020-06-04 19:21:41 +02:00
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
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
MihaiCraciun
1df2ba2c7a
Added missing closing select tag
2020-06-03 13:40:05 +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
Claudio Sanches
9020cebdbb
Normalize parameters for woocommerce_product_importer_parsed_data filter
2020-06-02 14:21:33 -03:00
Claudio Sanches
5445d34283
Remove deprecated attribute
2020-06-02 13:57:55 -03:00
Claudio Sanches
e0105f124f
Deprecate WC_Cart->tax_display_cart
2020-06-02 13:55:29 -03:00
Julia Amosova
479cac4fc0
Add note to Products Importer that TXT files are also supported.
2020-06-02 12:55:06 -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
Claudio Sanches
f8a050f914
Fixed typo in WC_Product_CSV_Importer class
2020-06-02 11:42:50 -03:00
Sergey Ratushnuy
ec91a7c3fc
Small fix
2020-06-02 15:05:44 +03:00
Claudio Sanches
f2be9c7365
Fixed coding standards
2020-06-02 00:01:26 -03:00
Claudio Sanches
6afbed0c14
Fixed coding standards
2020-06-01 23:55:17 -03:00
Claudio Sanches
608cce5091
Fixed typo
2020-06-01 20:54:29 -03:00
Claudio Sanches
b4ab40ae34
Adds a prompt to confirm if should run tools in the Status page.
2020-06-01 18:56:38 -03:00
Zack Katz
7a7f33f2a1
Fix undefined index PHP warning
...
![](https://i.gravityview.co/gtGvNE+ )
2020-06-01 14:32:19 -06: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
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
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
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
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
Claudio Sanches
a240798362
Don't allow redirection while checking for uploads directory
2020-05-25 10:31:58 -03:00
Mário Valney
04ceaa52f9
Fix: remove HTML from error message.
2020-05-22 21:14:43 -03:00
vedanshujain
57d336433a
Fix regression caused by merging #25092 conflicting with #24828
2020-05-22 22:08:42 +05:30
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
Claudio Sanches
7534e2eba0
Allow set "date_created" while creating orders via CRUD
2020-05-20 18:04:49 -03:00
Claudio Sanches
5d034b83a9
Allow custom values in wc_generate_order_key()
2020-05-20 17:41:22 -03:00
Claudio Sanches
ea19190d3b
Allows to set custom order_key while creating an order
2020-05-20 17:14:17 -03:00
Jeffrey Scott French
9faee1d909
Sets Select a country option element value attribute to default.
2020-05-19 15:07:27 -04:00
Viktor Szépe
90c34a26a0
Fix PHPDoc in WC_Notes_Run_Db_Update
...
and correct a newbie mistake
2020-05-19 19:21:57 +02:00