Commit Graph

34461 Commits

Author SHA1 Message Date
Claudio Sanches 66dbb44100 Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean 2019-08-12 12:45:43 -03:00
Claudio Sanches 8ef99cf1de Check if order exists before create downloads hash 2019-08-12 12:18:35 -03:00
Gerhard 3d2d50f0fa Update grunt contributors command to take a branch input 2019-08-12 17:13:31 +02:00
Claudio Sanches 9cfde9caf4 Updated template docblocks 2019-08-12 11:06:18 -03:00
Yash Kapoor 5b9b67ace1 Make matched shipping zone notice translatable (#24366)
* Update class-wc-shipping.php

Added translation.

* Update class-wc-shipping.php

Added translation.

* Update class-wc-shipping.php

Fixed phpcs error.

* Update class-wc-shipping.php
2019-08-12 10:32:44 -03:00
Gerhard Potgieter 8e5048bba6
Merge pull request #24382 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.3.0
2019-08-12 15:17:56 +02:00
Renovate Bot 67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0 2019-08-12 11:52:22 +00:00
Janak Kaneriya 77e4ed9b40 fixed the security check error while previewing the email template 2019-08-12 12:55:39 +05:30
itzmekhokan 148f22ac1d Added a filter for reposition shipping calculator 2019-08-10 19:22:32 +05:30
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 e6394ace27 Add note about using the ISO 3166-2 standard for states names 2019-08-08 15:12:57 -03:00
Rodrigo Primo c417250d33 Fix typo 2019-08-08 15:07:22 -03:00
Rodrigo Primo fe1ef02fbf Remove deprecated i18n/states directory
This commit removes the deprecated i18n/states directory. Since PR #22339,
more specifically commit f1afbcf03a,
the list of states for each country is defined in i18n/states.php and the
directory i18n/states/ is not used anymore. It is not clear from the PR
and commit descriptions if i18n/states/ was left on purpose or not.
I'm assuming it was not on purpose as it doesn't seem to be used
anywhere.
2019-08-08 15:03:29 -03:00
Rodrigo Primo 512f0fc447 fix phpcs error 2019-08-08 14:47:33 -03:00
Rodrigo Primo 91320201a7
Merge pull request #24307 from smaboshe/add-provinces-of-zambia
Add Zambia's Provinces to the list of states.
2019-08-08 14:46:37 -03:00
Rodrigo Primo 9136b8017c
Merge pull request #24358 from woocommerce/renovate/husky-3.x
Update dependency husky to v3.0.3
2019-08-08 14:31:24 -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
Renovate Bot 6bd8c09dd1
Update dependency husky to v3.0.3 2019-08-08 12:48:02 +00:00
Rodrigo Primo 21418bb28b Avoid PHP notice when getting order item type
This commit changes WC_Order_Item_Data_Store::get_order_item_type() to
avoid a PHP notice ("Notice: Trying to get property 'order_item_type' of
non-object") when there is no entry in the database for the order item
ID passed.
2019-08-07 18:03:26 -03:00
Gerhard 7484bd9199 Remove duplicate tooltip text 2019-08-07 17:49:38 +02:00
Julià Mestieri d1236021bb Added selectWoo as dependency of country-select. 2019-08-07 11:21:11 +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
vedanshujain 970271d0b7 Remove `blur` event to keep focus on select box.
This removes the `blur` call so that focus on select box is maintained for accessibility. This call was added way back in 2012 but from what it looks like, it can be removed safely.
2019-08-06 22:08:00 +05:30
Claudio Sanches b600b00091
Merge pull request #24337 from woocommerce/fix/uppercase-boolean-values-importer
Allow wc_string_to_bool to not be case sensitive
2019-08-06 13:12:40 -03:00
Shohei Tanaka 4312dc4834
add space
I added space
2019-08-06 21:41:16 +09:00
Gerhard 9c7e1d43b0 Update unit tests for wc_string_to_bool to test for camel case as well as uppercase values. 2019-08-06 14:12:42 +02: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
Rodrigo Primo 3683cd0a8f
Merge pull request #24329 from woocommerce/update/travis-dist
Update travis dist to xenial
2019-08-05 10:29:15 -03:00
Gerhard 4eae977494 Chrome beta 2019-08-05 15:09:49 +02:00
Gerhard e7ce889c9c Use start-stop deamon 2019-08-05 14:52:43 +02:00
Gerhard 862c43c553 xvfb needs to be started in before_script 2019-08-05 14:43:54 +02:00
Gerhard 5a9cb3e862 Include headless browser in services 2019-08-05 14:34:42 +02:00
Gerhard a58cced761 Instruct mysql to start 2019-08-05 14:33:51 +02:00
Gerhard 4b624bc477 Xenial not Bionic 2019-08-05 14:29:09 +02:00
Gerhard c078fdb9e1 Update travis dist to bionic, bionic has support for PHP 5.6 and up. 2019-08-05 14:20:22 +02:00
Gerhard Potgieter 199615d34a
Merge pull request #24309 from woocommerce/fix/24305
Do not minify FlexSlider library in every build
2019-08-05 14:00:09 +02: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
Vedanshu Jain 623f296a2a
Merge pull request #24323 from woocommerce/fix/24316
Add missing additional content output to new account email
2019-08-05 17:07:57 +05:30
Andrew Lazarus 2596e6ecda
Removed whitespace 2019-08-05 11:29:39 +02:00
Andrew Lazarus 3805794baf Fix - Issue on shipping rates tbody, toby set to inherit, should be table-row-group 2019-08-05 11:23:04 +02:00
Gerhard 958bd7d0dd Bump version number of template that was never done with changes. 2019-08-05 10:02:31 +02:00