Mike Jolley
cb27b40c67
Search for 'number' anywhere in cell, not just the end
2019-04-09 14:37:46 +01:00
Rodrigo Primo
2c8d006c37
Update PHPCompatibility sniff names
...
The name of some sniffs changed in the most recent PHPCompatiblity version. This commit update all instances where those names are used in WooCommerce codebase.
2018-11-21 11:08:26 -02:00
Rodrigo Primo
bfa9424d17
Update WPCS sniff name
...
The name of one of the WPCS sniffs changed from WordPress.CSRF.NonceVerification.NoNonceVerification to WordPress.Security.NonceVerification.NoNonceVerification. This commit updates all instances where this sniff is used in WooCommerce codebase.
2018-11-21 11:07:05 -02:00
Rodrigo Primo
e467737653
phpcs fixes
2018-11-21 11:06:42 -02:00
jvanderveen
c205cab470
Update class-wc-tax-rate-importer.php
2018-11-06 15:01:44 +01:00
claudiulodro
ccdf6d0253
Simplified path check for CSV importer to cause less issues
2018-10-15 13:50:34 -07:00
claudiulodro
26b188569b
Add filter for disabling file path check
2018-10-11 13:31:27 -07:00
claudiulodro
acf8757636
Add path checking and fix bug
2018-10-11 13:31:27 -07:00
claudiulodro
7b19673dea
Extra file type checking
2018-10-11 13:31:27 -07:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Mike Jolley
38be26e7a5
sanitize_special_column_name_regex trim
2018-06-11 14:55:36 +01:00
Mike Jolley
5cfd2f0f7a
Merge pull request #20273 from woocommerce/fix/20268
...
Fix broken product import file uploads on windows
2018-05-29 15:27:40 +01:00
Mike Jolley
800701adb0
Pass varaible
2018-05-29 15:25:11 +01:00
Mike Jolley
9637ada4ee
Keep escape, pass link
2018-05-29 11:16:30 +01:00
Gerhard Potgieter
e3a37f81ee
Changes based on feedback, no need for sanitasion since wp_handle_upload alread checks
2018-05-29 07:37:25 +02:00
Remi Corson
b64182162e
remove wp_kses() and esc_html()
2018-05-28 12:29:26 +02:00
Gerhard Potgieter
4e40d79f84
Use wc_clean and not wp_unslash when cleaning the file path, strips out slashed on windows machines
2018-05-28 11:50:04 +02:00
Remi Corson
61b9461375
Add wp_kses() authorized tag
2018-05-28 11:44:05 +02:00
Remi Corson
4743dba7d0
Make sample tax rate URL clickable
2018-05-28 11:23:32 +02:00
Joey
d815f7bad5
updated import/export functions for low_stock_amount
2018-05-27 06:00:20 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Chris Montgomery
5c37551128
Fix infinite loop with importing tax rates ( #20253 ).
2018-05-26 22:42:37 +00:00
Gerhard Potgieter
5b1180d81a
Server files always need to be relative to ABSPATH, and use wc_clean as esc_url_raw will mess up file paths.
2018-05-25 12:57:01 +02:00
Gerhard Potgieter
b1739dd21d
Add functionality to handle import files hosted on server
2018-05-24 07:34:40 +02:00
claudiulodro
2ee7c62499
Add default empty step class to html-csv-import-steps.php
2018-05-10 11:59:17 -07:00
Claudio Sanches
0ac857f049
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
...
Fixed notice:
```
PHP Notice: Only variables should be passed by reference in includes/admin/importers/class-wc-product-csv-importer-controller.php on line 298
```
2018-04-04 15:50:08 -03:00
Rodrigo Primo
a0db877e24
phpcs fixes in includes/admin/importers/views/html-product-csv-import-form.php
2018-03-09 17:26:49 -03:00
Rodrigo Primo
9b03fff8b8
phpcs fixes in includes/admin/importers/views/html-csv-import-steps.php
2018-03-09 17:26:40 -03:00
Rodrigo Primo
924a7a5cc3
phpcs fixes in includes/admin/importers/views/html-csv-import-progress.php
2018-03-09 17:26:26 -03:00
Rodrigo Primo
56b82815a9
phpcs fixes in includes/admin/importers/views/html-csv-import-mapping.php
2018-03-09 17:26:16 -03:00
Rodrigo Primo
703627365a
phpcs fixes in includes/admin/importers/views/html-csv-import-header.php
2018-03-09 17:26:05 -03:00
Rodrigo Primo
8c54884118
phpcs fixes in includes/admin/importers/views/html-csv-import-footer.php
2018-03-09 17:25:55 -03:00
Rodrigo Primo
b67e839dbb
phpcs fixes in includes/admin/importers/views/html-csv-import-done.php
2018-03-09 17:25:45 -03:00
Rodrigo Primo
5b425402c2
phpcs fixes in includes/admin/importers/mappings/wordpress.php
2018-03-09 17:25:36 -03:00
Rodrigo Primo
20650248ae
phpcs fixes in includes/admin/importers/mappings/mappings.php
2018-03-09 17:25:24 -03:00
Rodrigo Primo
c7d13ddab6
phpcs fixes in includes/admin/importers/mappings/generic.php
2018-03-09 17:25:15 -03:00
Rodrigo Primo
c18cfd779d
phpcs fixes in includes/admin/importers/mappings/default.php
2018-03-09 17:25:05 -03:00
Rodrigo Primo
1dc2511c2c
phpcs fixes in includes/admin/importers/class-wc-tax-rate-importer.php
2018-03-09 17:24:55 -03:00
Rodrigo Primo
73cb1663ec
phpcs fixes in includes/admin/importers/class-wc-product-csv-importer-controller.php
2018-03-09 17:24:44 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Claudio Sanches
ffd7915d49
Make sure that option is an array
2018-02-28 16:46:52 -03:00
Claudio Sanches
de804dbe7b
Make sure that user saved mapping preferences are applied after all filters
2018-02-28 16:40:26 -03:00
Claudio Sanches
3ca1139cf9
Sanitize mapping before save
2018-02-28 16:36:35 -03:00
Claudio Sanches
8500000da7
Updated user option key
2018-02-28 16:04:20 -03:00
Claudio Sanches
9db8a434b5
Merge pull request #18082 from WPprodigy/remember-importer-mappings
...
Remember importer mappings
2018-02-23 11:05:24 -03:00
suifengtec
6aab570544
fix: show Maximum size with the size unit on the importer screen
2018-02-12 23:18:24 +08:00
Ryan Ray
b3af5c808d
Updates & renames all dummy data to sample data.
2018-01-11 11:39:51 -05:00
Caleb Burks
83c1e70d00
Fix docs type
2017-12-11 23:12:53 -06:00
Caleb Burks
c7a583e5c1
Add CSV import option to use previous mapping
2017-12-09 02:58:07 -06:00
Caleb Burks
9db92e7152
Remove html that was being escaped
2017-12-09 01:13:27 -06:00