Commit Graph

13235 Commits

Author SHA1 Message Date
Gerhard Potgieter 21377fe5a7 input to button for submit in class-wc-widget-layered-nav.php 2017-11-07 10:56:36 +02:00
Gerhard Potgieter 364d266def PHPCS fixes for class-wc-widget-layered-nav.php 2017-11-07 10:55:27 +02:00
Gerhard Potgieter e0a55cb8dd input to button for submit in wc-template-functions.php 2017-11-07 10:40:28 +02:00
Gerhard Potgieter 2171ae7c0a PHPCS fixes for wc-template-functions.php 2017-11-07 10:39:10 +02:00
Gerhard Potgieter c53543a4b3 input to button for submit in html-report-by-date.php 2017-11-07 10:38:18 +02:00
Gerhard Potgieter 2716f08d91 PHPCS fixes for html-report-by-date.php 2017-11-07 10:36:39 +02:00
Gerhard Potgieter 78251eaa47 input to button for submit in html-admin-settings.php 2017-11-07 10:32:12 +02:00
Gerhard Potgieter ddeee320ef input to button for submit in html-admin-page-status-logs.php 2017-11-07 10:30:41 +02:00
Gerhard Potgieter a9690b37f5 PHPCS fixes for html-admin-page-status-logs.php 2017-11-07 10:29:16 +02:00
Gerhard Potgieter f063aad89c input to button for submit in html-admin-page-product-export.php 2017-11-07 10:27:25 +02:00
Gerhard Potgieter 636a34630e PHPCS fixes for html-admin-page-export.php 2017-11-07 10:24:39 +02:00
Gerhard Potgieter 3109b11dbe input to button for submit in html-webhook-edit.php 2017-11-07 10:23:23 +02:00
Gerhard Potgieter 8b7320dcd6 PHPCS fixes for html-webhook-edit.php 2017-11-07 10:20:51 +02:00
Gerhard Potgieter 416fb697f9 input to button for submit in html-admin-page-shipping-zone-methods.php 2017-11-07 10:14:44 +02:00
Gerhard Potgieter fcd9b206ff PHPCS fixes for html-admin-page-shipping-zone-methods.php 2017-11-07 10:11:19 +02:00
Gerhard Potgieter a8dab20cf8 input to button for submit in html-admin-page-shipping-classes.php 2017-11-07 10:05:32 +02:00
Gerhard Potgieter 7c8cb1150f PHPCS fixes for html-admin-page-shipping-classes.php 2017-11-07 10:03:43 +02:00
Gerhard Potgieter d3d41a4a05 input to button for submit in class-wc-report-sales-by-product.php 2017-11-07 09:56:31 +02:00
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 cb61e9dd3d WC_TAX_ROUNDING_MODE auto to support switching in tests 2017-11-06 21:25:02 +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
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
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
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
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
Joel Rowley 390f46f7da Attempt to fix type conversion precision bug 2017-11-04 16:33:23 -04: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 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
Mike Jolley 2e1e9291bc Remove trailing `.`
@claudiulodro Only affects master.
2017-11-02 18:29:34 +00:00
Mike Jolley 98f2fd5685
Merge pull request #17529 from woocommerce/fix/17517
Adjust out of base discount logic
2017-11-02 18:20:09 +00:00
Claudiu Lodromanean d0c1f16f26
Merge pull request #17533 from woocommerce/fix/17509
Remove kses from term description
2017-11-02 10:47:57 -07:00
Claudiu Lodromanean d1157d6f0b
Merge pull request #17521 from woocommerce/fix/sort-tabs-callback
For code doing it wrong, ensure priority is set
2017-11-02 10:46:17 -07:00
Mike Jolley 19c288fa5b
Merge pull request #17530 from woocommerce/fix/17526
Packages should be shippable until proven otherwise.
2017-11-02 17:36:58 +00:00
Mike Jolley 92a8bdf616 Remove kses from term description
Closes #17509
2017-11-02 17:13:02 +00:00
Markus Aurich b27602db3f fix: wrong validation of polish postcodes (#17523) 2017-11-02 16:55:37 +00:00
claudiulodro d7161cb711 Refactor it a little bit 2017-11-02 09:24:09 -07:00
Mike Jolley 9ea088f6c9 Adjust discount logic when out of base 2017-11-02 16:18:51 +00:00
Mike Jolley 624c1a9516 Allow items to be sent directly to the discounts class 2017-11-02 16:18:17 +00:00
claudiulodro a3ffd72842 Packages are shippable until proven otherwise 2017-11-02 09:16:17 -07:00
Mike Jolley 130d719d90 Small rounding error in items table 2017-11-02 15:03:43 +00:00
Mike Jolley eb1bcee8b9 For code doing it wrong, ensure priority is set 2017-11-02 11:13:24 +00:00
Mike Jolley bf4063b0cb
Merge pull request #17499 from woocommerce/fix/17492
Removed wp_kses_post() from product archive description
2017-11-01 16:48:31 +00:00
Claudiu Lodromanean 9117414dae
Merge pull request #17491 from woocommerce/update/17101
wc_caught_exception method
2017-11-01 09:31:57 -07:00
Claudio Sanches 9e29ed0bda Removed wp_kses_post() from product archive description
Fixes #17492
2017-11-01 14:16:19 -02:00
Mike Jolley 8fd6864a23 Merge branch 'pr/17457' 2017-11-01 15:48:57 +00:00
Mike Jolley 7606666de9 woocommerce_pre_customer_bought_product 2017-11-01 15:48:46 +00:00
Mike Jolley 9c096b419f Merge branch 'pr/17435' 2017-11-01 13:10:37 +00:00
Mike Jolley 9d92b8a8ff phpcs 2017-11-01 13:10:25 +00:00
Tim Howe abea378245 Variation Displayed in Cross-Sell and Upsells with Parent's Post Status set to 'draft' and 'pending review' (#17423)
* 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.
2017-11-01 12:52:58 +00:00
Mike Jolley ef4c05a393 Merge branch 'pr/17098' 2017-11-01 12:43:35 +00:00
Mike Jolley 415d1ab061 Use global if it exists to improve performance. 2017-11-01 12:43:26 +00:00
Mike Jolley ff02941a53 Merge branch 'pr/17434' 2017-11-01 12:32:52 +00:00
Mike Jolley 80dfbc0ced phpcs tweaks and escaping 2017-11-01 12:32:35 +00:00
Mike Jolley c17e76adc8
Merge pull request #17113 from woocommerce/add/travis-phpcs
Run PHPCS in Travis CI
2017-11-01 12:18:44 +00:00
Mike Jolley 5d500ba5fb wc_caught_exception method 2017-11-01 11:41:53 +00:00
veisis fbd1b114db
Class name fix in docblock 2017-11-01 11:59:49 +02:00
Claudio Sanches e1a4f6e159
Merge pull request #17470 from woocommerce/pr/16959
Added actions before calculations order totals and taxes and is_vat_excempt support
2017-10-31 12:21:08 -02:00
Claudio Sanches 418bbbfee5
Merge pull request #17467 from woocommerce/fix/17460-currency
Add direction character to currency output
2017-10-31 12:04:37 -02:00
Mike Jolley 7c74e77849 handle tax removal in order class 2017-10-31 13:37:57 +00:00
Mike Jolley 80b16adb0a Revert is_vat_exempt changes in item classes 2017-10-31 13:36:57 +00:00
Mike Jolley bc7484f473 Merge branch 'master' into pr/16959
# Conflicts:
#	includes/abstracts/abstract-wc-order.php
2017-10-31 13:33:09 +00:00
Mike Jolley 01730cdc4f Add method to generate transient name 2017-10-31 12:58:36 +00:00
Mike Jolley 5848590333 Merge branch 'master' into update/14260 2017-10-31 12:54:35 +00:00
Mike Jolley 43ba326ed9 Fix currency position with rtl symbols 2017-10-31 12:22:18 +00:00