Commit Graph

24089 Commits

Author SHA1 Message Date
Grzegorz Rola 0c9ad20986 wp_unslash() needs to always comes first 2017-11-06 19:10:33 +01:00
Grzegorz Rola 4f4a3460a3 Security fix 2017-11-06 18:50:26 +01:00
Claudio Sanches b24519b0c9
Merge pull request #17594 from woocommerce/fix/17582-downloads
Hide downloads from admin emails
2017-11-06 15:30:26 -02:00
Claudiu Lodromanean 40303646c1
Merge pull request #17595 from woocommerce/update-chromedriver
Allow for chromedriver patch version updates
2017-11-06 09:29:49 -08:00
Claudio Sanches 955539b648
Merge pull request #17588 from woocommerce/fix/17565
Check valid data when filtering wp_nav_menu_objects
2017-11-06 15:29:33 -02:00
Rodrigo Primo 4c99c085e7 Allow for chromedriver patch version updates
e2e-tests were failing on my environment when using chromedriver 2.33.0, but they work when using chromedriver 2.33.2. I decided to change the version to `^2.33.0` instead of `2.33.2` to allow future patch version updates to happen automatically and to follow the version definition used for the other packages used by WC.
2017-11-06 15:14:32 -02:00
Mike Jolley c824dd7a85 Hide downloads from admin emails 2017-11-06 17:02:35 +00:00
Claudio Sanches 487d7f16cc
Merge pull request #17590 from woocommerce/fix/17544
Fix tax row orders count
2017-11-06 15:01:56 -02:00
Mike Jolley c6c6a1e4b3 Grab all taxes individually 2017-11-06 16:34:45 +00:00
Mike Jolley 0a4adde9aa Fix tax row orders count
Closes #17544

We had doubled up logic.
2017-11-06 16:20:56 +00:00
Mike Jolley 1b49e9a568 get_total_ex_tax should exclude fee taxes
Closes #17585
2017-11-06 16:18:21 +00:00
Claudio Sanches eb594b05ef
Merge pull request #17586 from woocommerce/fix/17572-alt
Unslash shipping forms and addresses
2017-11-06 14:16:18 -02:00
Mike Jolley c05e6d02f7 Check valid data when filtering wp_nav_menu_objects
Closes #17565
2017-11-06 16:05:19 +00:00
Mike Jolley 668fb1486c Unslash shipping form 2017-11-06 15:50:52 +00:00
Mike Jolley fa30b0bb07 Use wp_unslash 2017-11-06 15:48:11 +00:00
Mike Jolley 362867313f Revert "Issue #17575 - perform stripslashes when setting shipping state to avoid unwanted backslashes"
This reverts commit 8771c1f8e2.
2017-11-06 15:47:43 +00:00
Herb Miller 8771c1f8e2 Issue #17575 - perform stripslashes when setting shipping state to avoid unwanted backslashes 2017-11-06 15:47:31 +00:00
Herb Miller 4c9d411b08 Issue #17570 - stripslashes when setting customer data from the session 2017-11-06 15:47:31 +00:00
Gerhard Potgieter 0c5a208057 Change input to button for submit in class-wc-meta-box-order-actions.php 2017-11-06 15:23:00 +02:00
Gerhard Potgieter 8bb051fdcf PHPCS fixes for class-wc-meta-box-order-actions.php 2017-11-06 15:20:37 +02:00
Gerhard Potgieter 956db3c8da Change input to button for submit in html-product-csv-import-form.php 2017-11-06 15:15:31 +02:00
Gerhard Potgieter 56ddba9745 PHPCS fixes for html-product-csv-import-form.php 2017-11-06 15:14:35 +02:00
Gerhard Potgieter 01e4778d61 Change input to button for submit in html-csv-import-mapping.php 2017-11-06 15:12:28 +02:00
Gerhard Potgieter 844661230b PHPCS fixes for html-csv-import-mapping.php 2017-11-06 15:11:15 +02:00
Gerhard Potgieter bb9a29da85 Change input to button for submit in class-wc-tax-rate-importer.php 2017-11-06 15:06:15 +02:00
Gerhard Potgieter fbe7a1e2a2 PHPCS fixes for class-wc-tax-rate-importer.php 2017-11-06 15:05:13 +02:00
Claudio Sanches e097a52f48
Merge pull request #17580 from woocommerce/fix/17559
Set placeholder for variation lxwxh
2017-11-06 10:40:20 -02:00
Gerhard Potgieter 8add04b92e Change input to button for submit in class-wc-admin-setup-wizard.php 2017-11-06 14:31:22 +02:00
Gerhard Potgieter 99f38e72c1 PHPCS changes for class-wc-admin-setup-wizard.php 2017-11-06 14:26:17 +02:00
Gerhard Potgieter 7aed2acf4a Update class-wc-admin-menus.php to use button instead of input for submit 2017-11-06 13:14:30 +02:00
Gerhard Potgieter 9090f012f9 PHPCS fixes for class-wc-admin-menus.php 2017-11-06 13:10:34 +02:00
Gerhard Potgieter fb66c2066e PHPCS fixes for class-wc-admin-attributes.php 2017-11-06 12:58:57 +02:00
Gerhard Potgieter 2bcf8679be Update class-wc-admin-attributes.php to use button instead of input for submit 2017-11-06 12:45:14 +02:00
Mike Jolley 90203dc704 Set placeholder for variation lxwxh
Fixes #17559
2017-11-06 10:44:49 +00:00
Mike Jolley 3a5a046b7b
Merge pull request #17578 from SiR-DanieL/patch-1
Update NJ tax rate
2017-11-06 10:36:49 +00:00
Nicola Mustone d6f1319b7e
Update NJ tax rate
Updating the tax rate for NJ, US, to 6.875%
2017-11-06 10:59:07 +02:00
Joel Rowley 390f46f7da Attempt to fix type conversion precision bug 2017-11-04 16:33:23 -04:00
Grzegorz Rola 56e8b8bc57 Refresh order edit page on every refund. Ie. when refund generates some data for custom meta boxes. 2017-11-04 16:40:52 +01:00
Grzegorz Rola d8a6cc6eb2 Ability to search in DB logs. 2017-11-04 16:09:54 +01:00
Joel Rowley ca2ca5a5ca Add unit test to demonstrate type conversion precision bug 2017-11-03 22:20:41 -04:00
Jeremy Pry 9eee3805c0 Allow for cloning the cart object
This handles creating new instances of the `$session` and `$fees_api` properties.
2017-11-03 15:50:43 -04:00
Jeremy Pry 0cca83ff83 Add separate methods to register hooks
This facilitates cloning the cart without registering additonal hooks unnecessarily.
2017-11-03 15:49:45 -04:00
Claudiu Lodromanean 63877adfb6
Merge pull request #17554 from woocommerce/update/changelog
Update changelog
2017-11-03 11:18:53 -07:00
claudiulodro 14a8c37c23 Update changelog 2017-11-03 11:09:09 -07:00
Claudiu Lodromanean 40fc935f31
Merge pull request #17547 from franticpsyx/fix-flex-control-nav-selector-scope
[3.2] Fix `flex-control-nav` selector scope
2017-11-03 10:49:58 -07:00
Manos Psychogyiopoulos 55b3f339d3 Fix flex-control-nac selector scope
Maybe a bit more verbose than needed, but gets the job done.
2017-11-03 16:40:06 +02:00
Mike Koval d15aaf682d
Update class-wc-emails.php
Added missing param sent_to_admin to email-addresses template
2017-11-03 11:33:55 +02:00
Mike Jolley 482621a1de
Merge pull request #17536 from woocommerce/fix/out-of-base-rounding-discounts
Out of base rounding error fixes
2017-11-02 20:13:55 +00:00
Mike Jolley 040443a04d Out of base rounding error fixes 2017-11-02 20:00:49 +00:00
Tim Howe 1b08688ea6 Checkout Postcode / Zip validation error message missing Billing / Shipping Identification #17474 (#17535)
* Fix - #17413
Update the `json_search_products` function to use the
`wc_products_array_filter_visible` filter rather then the
`wc_products_array_filter_editable` filter

Added an additional if condition to the `is_visible` function to check
if the product had a parent and it's post status

* remove additional comment from code to keep it clean

* Reverted filter

* Updated the is_visable to check parent product post status using WooCommerce class methods

* Updated the `if empty` check to make it is compatible with older versions of php

* Removed the empty check infavor of just testing on the returned value
Updated the way we are retrieving the partent product object

* Moved the `$parent_product` variable assigment out of the if statement.

* Applied and tested tregenza patch to updates Checkout Postcode / Zip validation error message

* Cleaned up code from testing
2017-11-02 11:54:03 -07:00