Commit Graph

24122 Commits

Author SHA1 Message Date
Gerhard Potgieter e8b9ad7e17 PHPCS fixes for class-wc-report-sales-by-product 2017-11-07 09:55:19 +02:00
Gerhard Potgieter 02841582de Input to button for submit in class-wc-report-sales-by-category.php 2017-11-07 09:13:47 +02:00
Gerhard Potgieter bb64d6909f PHPCS fixes for class-wc-report-sales-by-category.php 2017-11-07 09:12:40 +02:00
Gerhard Potgieter 4aef57ae40 Change input to button for submit in class-wc-report-coupon-usage.php 2017-11-07 09:03:52 +02:00
Gerhard Potgieter 1842e9b7de PHPCS fixes for class-wc-report-coupon.usage.php 2017-11-07 08:52:45 +02:00
MounirHamani 2c471d3662
Add new Belarusian ruble BYN 2017-11-07 03:24:01 +01:00
Claudiu Lodromanean c4fe2927d7
Merge pull request #17603 from woocommerce/pr/17563
Calculation fixes and unit tests
2017-11-06 14:32:11 -08:00
claudiulodro c3689134d0 Underscores wrappers 2017-11-06 13:46:50 -08:00
Mike Jolley 2de438dbc5 constant 2017-11-06 21:30:00 +00:00
Mike Jolley d62721dbb5 ..and fix tests based on updated constant setting - taxes round down 2017-11-06 21:26:28 +00:00
Mike Jolley cb61e9dd3d WC_TAX_ROUNDING_MODE auto to support switching in tests 2017-11-06 21:25:02 +00:00
Mike Jolley 7048d0769c Restore tests 2017-11-06 21:18:12 +00:00
Mike Jolley 42fef1a51a Float handling logic for scientific notation 2017-11-06 20:04:03 +00:00
Mike Jolley 004e58c8b8 Revert "Long floats convert to strings with chars like "E". Let's format to precision setting to avoid this."
This reverts commit 1ac8f6c272.
2017-11-06 20:04:03 +00:00
Mike Jolley 7af6c2f55e Long floats convert to strings with chars like "E". Let's format to precision setting to avoid this. 2017-11-06 20:04:03 +00:00
Mike Jolley 2547861710 Converting to floats messes with storage - keep strings 2017-11-06 20:04:03 +00:00
Mike Jolley 466b8c8163 More tests with more decimals 2017-11-06 20:04:03 +00:00
Mike Jolley fe72fdfbd2 Add test to show error happening 2017-11-06 20:04:03 +00:00
Jeremy Pry 86aaa66ec0 Ensure hooks are added during unit tests 2017-11-06 14:58:07 -05:00
claudiulodro 939c115ddb Out of base unit tests 2017-11-06 19:41:27 +00:00
claudiulodro 0e40f619af Out of base cart tests (need tweaking) 2017-11-06 19:41:27 +00:00
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