Knyazevich
f551c6c792
Exclude drafts from the "Shop page" select (ref #24136 )
2020-10-06 06:42:56 +03:00
Ron Rennick
ab4a46e32e
Merge pull request #27299 from woocommerce/fix/27116
...
allow variation image to be removed via REST API
2020-10-05 09:33:50 -03:00
Jonathan Sadowski
e540b4820e
Rename maybe_enable_setup_wizard to maybe_set_activation_transients
2020-09-30 17:27:43 -05:00
Jonathan Sadowski
83238ec1d7
Move maybe_enable_setup_wizard abode update_wc_version so new install is detected
2020-09-30 17:01:43 -05:00
Jonathan Sadowski
95755cb59d
Update the activation transient to only get added on new installs
2020-09-30 16:00:45 -05:00
Joshua Flowers
048c43a37f
Add back in activation transient to redirect on install
2020-09-29 14:25:15 -04:00
Rodrigo Primo
c3a72b994a
Fix version in which the setup wizard was deprecated
...
The setup wizard is going to be deprecated in WC 4.6.0 which should be
released soon. Some functions were marked as if they were deprecated in
WC 4.5.0 which is not the case.
2020-09-22 11:20:33 -03:00
Rodrigo Primo
51fd4af1b2
Remove call to __() from deprecation messages
...
Doing this as AFAIK we don't typically support traslation for
deprecation messages.
2020-09-22 11:18:43 -03:00
Claudio Sanches
3391d8c0b0
Merge pull request #27718 from woocommerce/bump-versions-to-4.7.0
...
Bump WC version to 4.7.0
2020-09-21 16:21:09 -03:00
Rodrigo Primo
6a641c4b1d
Bump WC version to 4.7.0
2020-09-19 15:24:12 -03:00
Rodrigo Primo
7401982d37
Merge pull request #27047 from woocommerce/fix/26972
...
Removed Features settings and home screen option
2020-09-18 16:46:43 -03:00
Ron Rennick
9ae1ba92c6
remove WC_Admin_Setup_Wizard_Tracking from tracking classes
2020-09-18 15:26:18 -03:00
Ron Rennick
0735ed9f40
Merge branch 'fix/26173' of github.com:woocommerce/woocommerce into fix/26173
2020-09-18 15:23:08 -03:00
Ron Rennick
4b3b40d42e
address feedback
2020-09-18 15:22:24 -03:00
Rodrigo Primo
f3191907d9
Add missing line break
2020-09-18 14:25:25 -03:00
Ron Rennick
43051a0950
update deprecation versions to 4.6.0
2020-09-18 13:16:46 -03:00
Ron Rennick
cca97599d7
only automatically create pages on new install
2020-09-18 13:10:11 -03:00
Ron Rennick
9915a5b142
merge master
2020-09-18 12:53:28 -03:00
Ron Rennick
6630f3fdba
remove class accidentally added to PR
2020-09-18 12:41:57 -03:00
Rodrigo Primo
d99053dbed
Update version in @since tag of the woocommerce_should_send_no_stock_notification filter
2020-09-18 12:08:36 -03:00
Rodrigo Primo
8be6dc5b96
Merge pull request #27634 from jondcampbell/master
...
Added filter for no stock notification emails
2020-09-18 12:07:04 -03:00
Rodrigo Primo
60d6510cb0
Merge pull request #27685 from woocommerce/add/wp-env-type-to-wc-tracker
...
Added environment type var to WC tracker.
2020-09-18 11:30:35 -03:00
Rodrigo Primo
197e8d274c
Merge pull request #27616 from woocommerce/fix/26960
...
Paypal gateway: protect code against a fatal error if WooCommerce is unable to communicate with PayPal
2020-09-18 09:34:57 -03:00
Peter Fabian
ed9c1e2f93
Update includes/class-wc-tracker.php
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-18 14:30:39 +02:00
Claudio Sanches
29b8b0d60d
Merge pull request #27701 from woocommerce/fix/rest-api-package-tag
...
Fixed usage of package tag in REST API and templates
2020-09-17 18:45:14 -03:00
Claudio Sanches
153ce009de
Fixed helper header
2020-09-17 16:50:17 -03:00
Claudio Sanches
3377c60c5e
Merge pull request #27433 from woocommerce/fix/remove-relative-include-paths
...
Change relative include paths to absolute include paths
2020-09-17 13:15:40 -03:00
Claudio Sanches
f4e9fcc1a4
Fixed missing include
2020-09-17 13:12:57 -03:00
Claudio Sanches
70c7adfeb7
Fixed usage of package tag in REST API and templates
2020-09-17 11:56:08 -03:00
Claudio Sanches
ed1a59b39b
Merge pull request #27416 from woocommerce/fix/27415
...
Fixed country list sorting
2020-09-17 10:35:43 -03:00
Peter Fabian
b8670162a7
Added environment type var to WC tracker.
2020-09-16 13:44:36 +02:00
Anton Timmermans
723f14e44a
Improve bool <-> string conversion functions docs
...
These functions are polymorphic towards their input types to be more useful in more cases. Change the documentation to reflect this fact.
2020-09-13 13:01:14 +02:00
Rodrigo Primo
9bdafbeb18
Merge pull request #27219 from woocommerce/fix/filter-quantity-in-add_to_cart_handler_grouped
...
Filter quantity in add_to_cart_handler_grouped
2020-09-12 15:56:49 -03:00
Rodrigo Primo
a24937556a
Merge pull request #27658 from woocommerce/update/4.6.0-dev
...
Prepare master for 4.6.0 development
2020-09-12 11:18:22 -03:00
Rodrigo Primo
f345a1e0c8
Merge pull request #27615 from woocommerce/fix/26590
...
Fix bug when using tax classes with some non-ASCII characters
2020-09-11 14:48:10 -03:00
Rodrigo Primo
d7b2207e75
Merge pull request #27610 from attitude/patch-1
...
Encapsulate scope of `c` variable
2020-09-11 14:27:06 -03:00
Rodrigo Primo
fd25815a7c
Prepare master for 4.6.0 development
2020-09-11 14:07:58 -03:00
Jon Campbell
bb949ae474
simplifying filter usage
...
Switched to product id instead of product object
Moving the filter into the if condition instead of having a single use variable
2020-09-11 09:38:52 -07:00
Claudio Sanches
b5d8d94bc8
Use reference in wc_asort_by_locale
2020-09-10 16:02:39 -03:00
jonathansadowski
2bcdbacc98
Merge pull request #27625 from woocommerce/revert-improved-filtering-for-variations
...
Revert improved filtering for variations
2020-09-10 12:42:15 -05:00
Nestor Soriano
4411a394dc
Reintroduce adjust_posts_count, and remove unnecessary comment.
...
We can't remove that method since it's public, but its body has
been changed so that it just returns the input unchanged.
2020-09-10 15:17:43 +02:00
Jon Campbell
642b5b958e
Update class-wc-emails.php
...
removing whitespace to be coding standards compliant.
2020-09-09 16:32:12 -07:00
Jon Campbell
188f839e70
add no stock notification filter
2020-09-09 12:07:15 -07:00
Christopher Allford
ae697f9fe2
Prevented zero from being considered empty when validating posted variation attributes
2020-09-09 11:29:31 -07:00
Nestor Soriano
70a1cb2f1f
Revert improved filtering for variations.
...
This commit reverts the functionality introduced in PR #26260
(later refined by #27175 , #27190 , #27508 ) in which filtering by
attribute using the layered nav widget was improved to handle the
cases of variations out of stock. The revert is a response to the
numerous problems reported by users in Woo 4.4 and 4.5
Not all the code has been reverted, only the code that resulted in
visible functionality changes. Thus, the code that generates
term relationships for variations is still in place to keep database
consistency and to keep the reverting changes to the minimum needed.
2020-09-09 17:36:26 +02:00
Jonathan Sadowski
9da304e983
Update version in class-woocommerce.php
2020-09-09 10:35:05 -05:00
jonathansadowski
d00083f1ec
Merge pull request #27628 from woocommerce/fix/27624
...
Check for state and postcode fields only if required
2020-09-09 09:41:57 -05:00
vedanshujain
7f2b322085
Check for state and postcode fields only if required
...
We were doing state and postcode even for countries where its not required, but unfortunately as an unintended effect we were ending up not checking shipping requirements if this was not met.
2020-09-09 18:21:14 +05:30
Rodrigo Primo
3aed780443
Paypal gateway: protect code against a fatal error
...
This commit changes the order of the error handling check to protect the code against a possible fatal error if wp_safe_remote_post() returns an instance of WP_Error().
2020-09-08 16:57:48 -03:00
Rodrigo Primo
d50cd4389b
Fix using tax classes with some non-ASCII characters
...
This commit fixes a bug that made it impossible to assign to a product a tax class that contained non-ASCII characters that are URL encoded by sanitize_title().
WooCommerce uses sanitize_title() to generate a slug when creating a tax class (d48f1d4e2e/includes/class-wc-tax.php (L808)
). sanitize_title() converts some non-ASCII to ASCII equivalents (those handled by remove_accents()) and URL encodes others (like some Greek characters, for example).
The code was using wc_clean() to sanitize the tax class when the user edited a product. The problem is that wc_clean() removes URL encoded characters, changing the slug of some tax class, causing WooCommerce to use the standard tax class instead without any errors. To fix this issue, this commit replaces wc_clean() with sanitize_title(). This should be enough for security purposes and should not cause any issues with non-ASCII characters.
2020-09-08 16:00:56 -03:00