Claudio Sanches
1b2b9d528a
Fixed Netherlands postcode formatting ( #24284 )
...
* Fixed Netherlands postcode formatting
Trim all spaces, fixes issues when postcode is empty.
* Always trim spaces
* Updated unit test for test_wc_format_postcode()
2019-08-09 15:00:40 -03:00
Rodrigo Primo
6c263c97b6
Merge pull request #24239 from Chouby/fix/delete_variations_actions
...
Fire related actions when deleting all product variations
2019-08-08 16:47:39 -03:00
Rodrigo Primo
7cea80a86a
Merge pull request #24291 from woocommerce/prod-shipping-class-alphabetical
...
Sort shipping classes under products alphabetically
2019-08-08 16:41:30 -03:00
Rodrigo Primo
353945f638
Merge pull request #23384 from CasperBraske/CasperBraske-patch-1
...
Moved HTML from widget code to template file
2019-08-08 15:46:45 -03:00
Rodrigo Primo
3039d84736
Merge pull request #24336 from shoheitanaka/patch-16
...
Update address setting for Japanese
2019-08-08 15:27:12 -03:00
Rodrigo Primo
638a5cfef7
Merge pull request #24351 from woocommerce/fix/duplicate-tooltip-text-emails
...
Remove duplicate tooltip text in emails additional content
2019-08-08 10:49:13 -03:00
Rodrigo Primo
b5cf46efde
Merge pull request #24199 from MahdiY/add/get-zone-criteria-filter
...
Add filter hook to get zone criteria
2019-08-08 09:56:49 -03:00
Gerhard
7484bd9199
Remove duplicate tooltip text
2019-08-07 17:49:38 +02:00
Mahdi Yousefi
449a258781
Remove whitespace at end of line
2019-08-07 11:26:28 +04:30
Mahdi Yousefi
c2d05b1fc0
Update class-wc-shipping-zone-data-store.php
2019-08-07 08:34:14 +04:30
Shohei Tanaka
4312dc4834
add space
...
I added space
2019-08-06 21:41:16 +09:00
Gerhard
44421facfe
convert string to lowercase before checking value in wc_string_to_bool
2019-08-06 14:10:31 +02:00
Shohei Tanaka
0aa2f160a9
Update address setting for Japanese
...
Update setting for Japanese Name and postcode and Prefecture.
2019-08-06 20:10:15 +09:00
Rodrigo Primo
bccb7c3283
Merge pull request #24191 from woocommerce/fix/24188
...
Only add the image node to structured data if product has image
2019-08-05 16:45:30 -03:00
Gerhard
5ea1b72b6a
PHPCS fixes
2019-08-05 13:51:46 +02:00
Daniel Bitzer
b59e633b15
Fix output escaping for menu titles
...
Menu title contains HTML
2019-08-05 13:51:45 +02:00
Rodrigo Primo
7c776e1593
Merge pull request #24279 from woocommerce/feature/23582
...
Introduced filter to prevent adjust product stock
2019-08-02 11:58:09 -03:00
Luis
0d80af01dc
Fixing code standards violations
2019-08-02 00:10:11 -03:00
Rodrigo Primo
aa590c8acd
Merge pull request #24283 from woocommerce/fix/24240
...
Make wc_get_endpoint_url() follow WordPress permalink settings
2019-08-01 17:36:26 -03:00
Rodrigo Primo
ad6d9ec8fe
Merge pull request #24282 from woocommerce/feature/24243
...
Introduced filter to change default redirect URL in wc_logout_url()
2019-08-01 15:20:09 -03:00
Jesse Pearson
009b0f030d
Sort shipping classes under products alphabetically
2019-08-01 13:07:05 -04:00
Rodrigo Primo
d33505b33a
Merge pull request #24198 from woocommerce/fix/24190
...
Prevent run wc_load_cart() before before_woocommerce_init
2019-08-01 11:26:37 -03:00
Claudio Sanches
c4afd53749
Make wc_get_endpoint_url() compatible with WordPress use_trailing_slashes settings
2019-07-31 20:57:55 -03:00
Claudio Sanches
52ba85c977
Introduced filter to change default redirect url in wc_logout_url()
2019-07-31 20:35:10 -03:00
Claudio Sanches
1e6785f758
Introduced filter to prevent adjust product stock
2019-07-31 17:37:33 -03:00
Gerhard Potgieter
9709382f31
Merge pull request #24213 from woocommerce/update/3-7-beta-tweaks
...
Deprecate instead of remove
2019-07-29 13:18:26 +02:00
Gerhard
4fa1e7d431
Only remove
2019-07-29 11:53:15 +02:00
Gerhard
978f0ef88d
Add backward compatible functionality to the new table if maybe_remove_tax_class_rates happens to get called.
2019-07-29 10:56:13 +02:00
Frédéric Demarle
0fa582a25f
Coding standards
2019-07-26 13:40:13 +02:00
Frédéric Demarle
e3dd09d021
Fire related actions when deleting all product variations
2019-07-26 11:55:30 +02:00
Gerhard Potgieter
ba517650a1
Merge pull request #24178 from james-allan/deprecate_before_quantity_zero_action
...
Deprecate the `woocommerce_before_cart_item_quantity_zero` action
2019-07-22 14:38:40 +02:00
Gerhard Potgieter
1a3e9a668f
Merge pull request #24173 from woocommerce/fix/order-create-track
...
[Beta fix] Return early if post status is `auto-draft` to prevent fatal.
2019-07-22 14:36:44 +02:00
Gerhard
e586379c3c
Delete woocommerce_tax_classes option after transfering it to the new tax class table.
2019-07-22 14:16:17 +02:00
Gerhard
0e316c238d
Add back WC_Tax::maybe_remove_tax_class_rates removed in #23093 and deprecate it instead.
2019-07-22 14:11:11 +02:00
Claudio Sanches
94d0516ba2
Fixed translator notation
2019-07-19 13:29:38 -03:00
Jaden
83a3c2362a
Fix Missing Translation for Subtotal
2019-07-19 12:53:59 +00:00
MahdiY
040a617cd1
Add filter hook to get zone criteria
2019-07-19 09:35:04 +04:30
Claudio Sanches
488eefd7ec
Don't allow before before_woocommerce_init
2019-07-18 23:43:32 -03:00
Claudio Sanches
fd42c439f9
Prevent run wc_load_cart() before woocommerce_loaded
2019-07-18 23:34:13 -03:00
Rodrigo Primo
0e317ac82e
Only add the image node to structured data if product has image
...
This commit adds a check to verify if a given product has a image before
adding the image node to the structured data output. If there is no
image, the image node should be omitted instead of display with `false`
as its value.
2019-07-18 10:24:42 -03:00
James Allan
dd47170c7d
Deprecate the woocommerce_before_cart_item_quantity_zero action
...
This action was removed in 921cc754b9
.
It will need to be deprecated so third-parties are made aware the new alternative.
2019-07-18 11:18:21 +10:00
vedanshujain
6ab03e6acd
Return early if post status is `auto-draft` to prevent fatal.
...
While creating an order, if we remove an item after adding, `pre_post_update` hook gets called. Since the order is not created yet, `$order->get_date_created()` will be null, and this will cause a fatal in the event tracker which checks for and tracks edit in order created date.
We now return early when order status is `auto-draft` to prevent these kind of errors.
2019-07-17 00:21:18 +05:30
haszari
8c5eb16c78
shorten in-app-purchase url param keys
2019-07-16 08:30:19 +12:00
Gerhard Potgieter
3958e347cd
Merge pull request #24123 from woocommerce/add/wccom-site-rest-api
...
Add WCCOM Site REST API
2019-07-15 19:34:14 +02:00
Claudio Sanches
1f77efae4b
Don't use WP_REST_Server::get_raw_data() inside REST API endpoints
2019-07-15 13:30:17 -03:00
Claudio Sanches
eac2d39edf
Better naming for REST API endpoints
2019-07-15 13:19:03 -03:00
Claudio Sanches
3fd0eb7391
Merge branch 'add/wccom-site-rest-api' of github.com:woocommerce/woocommerce into add/wccom-site-rest-api
2019-07-15 13:13:53 -03:00
Claudio Sanches
396bbe4cf5
Fixed doc blocks and coding standards
2019-07-15 13:13:16 -03:00
Akeda Bagus
3f9bbf5a3b
Replace __DIR__ with WC_ABSPATH.
2019-07-15 23:07:34 +07:00
Claudio Sanches
d339a29468
Fixed standards
2019-07-15 12:58:41 -03:00