Peter Fabian
50e386cbe8
Corrected the comment.
2020-05-15 09:26:17 +02:00
Christopher Allford
7bf9c31f64
Adjusted the column name normalization to avoid squashing meta key case sensitivity
...
Since we were converting the field to lowercase we ended up inserting meta in all lowercase, regardless of what it was in the CSV file. We should only be using the normalized field name when looking at the default columns, and should instead rely on a case-insensitive regex for the special columns.
One thing to note is that we're still defaulting the $headers array to the normalized field, as we don't want to change what is being passed to the filter for unmapped columns.
2020-05-14 21:20:55 -07:00
Christopher Allford
63ba6f7ee0
Moved the PSR-4 namespaced test directory to the correct folder
...
I know this probably doesn't belong in this PR, but it has been thoroughly discussed and I don't think anyone will mind :)
2020-05-14 21:20:47 -07:00
Christopher Allford
aa6a025526
Merge pull request #26517 from woocommerce/revert-25517-duplicated-custom-fields-after-import
...
Revert "Fix duplicated custom fields after import products from .csv file"
2020-05-14 14:32:09 -07:00
Thomas Steur
630b7f436d
apply review feedback: better naming and coding style fix
2020-05-15 09:08:35 +12:00
Claudio Sanches
c09a269589
Revert "Fix duplicated custom fields after import products from .csv file"
2020-05-14 14:06:01 -03:00
Néstor Soriano
2462877c56
Merge pull request #26410 from woocommerce/fix/message-type-styling
...
Allow different notice types with WC_Admin_Notices
2020-05-14 14:37:12 +02:00
Peter Fabian
777c140611
Skip tests when WC Admin is not active.
...
Since those Notes were created because of WC Admin and the display is handled by WC Admin, it does not make sense to test them without WC Admin.
In addition, the data store that handles these Notices is not loaded without WC Admin.
2020-05-14 14:35:09 +02:00
Peter Fabian
2c1625d3f9
Added a couple of tests for WC_Notes_Run_Db_Update, a poorly testable class.
2020-05-14 13:31:43 +02:00
Joshua Flowers
ef131029a5
Add function to enable tracking client-side
2020-05-13 17:44:26 +03:00
Peter Fabian
6b11451b88
Replaced repeated code from get_current_notice with the function call.
2020-05-13 16:36:09 +02:00
Peter Fabian
a2f985414e
Added freshness check also for 'done' notice.
2020-05-13 16:34:23 +02:00
Peter Fabian
ed64c0c731
Y U no nonce here?
2020-05-13 16:33:27 +02:00
Peter Fabian
eb0879cd1a
Extracted actions to the beginning of the function to allow usage in note_up_to_date check.
2020-05-13 16:32:42 +02:00
Joshua Flowers
3f9db6a558
Add property to check if wcTracks is enabled
2020-05-13 16:53:57 +03:00
Joshua Flowers
07087c79a7
Always show tracks function in footer
2020-05-13 16:49:54 +03:00
Peter Fabian
a7203ec4d0
Added clean up of duplicate notes, if there are any.
...
There has been some reports about duplicate notes in the db, so this should remove the duplicates and keep the first one.
2020-05-13 15:00:04 +02:00
Christopher Allford
2c192410a2
Merge pull request #26477 from woocommerce/update/4-1-changelog
...
Added 4.1.0 entry in CHANGELOG.txt
2020-05-12 14:12:58 -07:00
Claudio Sanches
ac1c6533eb
Added 4.1.0 entry in CHANGELOG.txt
2020-05-12 18:03:53 -03:00
Christopher Allford
78197eb3de
Merge pull request #26476 from woocommerce/update/4.3-dev
...
Prepare master for 4.3.0 development
2020-05-12 13:52:41 -07:00
Claudio Sanches
a7a1ffaaef
Updated package.json
2020-05-12 17:50:33 -03:00
Claudio Sanches
f01c5a3b79
Start 4.3.0 development
2020-05-12 17:49:20 -03:00
Claudio Sanches
a8948291f6
Merge pull request #26448 from woocommerce/update/26447-readme-wc-docs-link
...
Update README.md link to WooCommerce documentation
2020-05-12 17:24:25 -03:00
Claudio Sanches
1d99c343e7
Added unit tests
2020-05-12 15:36:25 -03:00
Christopher Allford
a34bb53d9c
Merge pull request #26207 from woocommerce/feature/26186
...
Added notice to check if uploads directoy is public
2020-05-12 11:22:49 -07:00
Claudio Sanches
281459914b
Fixed space in URL
2020-05-12 15:16:36 -03:00
Claudio Sanches
8d6e13952a
New docs URL
2020-05-12 15:16:11 -03:00
Christopher Allford
1254f635f5
Merge pull request #26408 from woocommerce/update/action-scheduler-3.1.6
...
update Action Scheduler to 3.1.6
2020-05-12 10:53:24 -07:00
Ron Rennick
229841b9b5
fix merge conflicts take 2
2020-05-12 14:32:59 -03:00
Christopher Allford
2af182f207
Merge pull request #26433 from woocommerce/renovate/woocommerce-woocommerce-admin-1.x
...
Update dependency woocommerce/woocommerce-admin to v1.2.0
2020-05-12 10:28:08 -07:00
Christopher Allford
b2d4398f46
Merge pull request #26162 from Zebedeu/master
...
All provinces/states of Mozambique add
2020-05-12 09:50:54 -07:00
Christopher Allford
f4a7838ca3
Style fix
2020-05-12 09:48:07 -07:00
Ron Rennick
db7d86f4f5
fix merge conflicts
2020-05-12 13:46:10 -03:00
Christopher Allford
2f68fe4a2c
Merge branch 'master' of git://github.com/Zebedeu/woocommerce into Zebedeu-master
2020-05-12 09:44:49 -07:00
Ron Rennick
f5a7f727f3
update Action Scheduler to 3.1.6
2020-05-12 13:41:13 -03:00
Christopher Allford
d35f4a76a2
Merge branch 'garretthyder-privacy-exporter-group-description'
2020-05-12 09:40:43 -07:00
Christopher Allford
ef8e7114b7
Merge branch 'privacy-exporter-group-description' of git://github.com/garretthyder/woocommerce into garretthyder-privacy-exporter-group-description
2020-05-12 09:40:17 -07:00
Christopher Allford
7f45c56417
Merge pull request #26072 from garretthyder/privacy-policy-update
...
Privacy policy update
2020-05-12 09:33:28 -07:00
Renovate Bot
c4bb82eafc
Update dependency woocommerce/woocommerce-admin to v1.2.0
2020-05-12 16:24:15 +00:00
Christopher Allford
933f5e62ac
Merge branch 'jobthomas-build-a-better-woo'
2020-05-12 08:02:26 -07:00
Job
8fb72c8a1d
Decapitalise "Better" in "Build a Better WooCommerce"
...
All titles and questions in the new onboarding wizards only capitalise names and the first letter of the sentence. This seemed a tiny bit off. (Literally tiny.)
Changed "Build a Better WooCommerce" to "Build a better WooCommerce"
2020-05-12 07:49:24 -07:00
Christopher Allford
f41cb52e0c
Merge pull request #26251 from xristos3490/fix-wp-54-styles
...
[WC4.1 RC] WP 5.3 select2 css fixes broken in WP 5.4
2020-05-12 07:39:10 -07:00
Christopher Allford
327f5fe30b
Merge pull request #26456 from woocommerce/update/wc-rest-api
...
Update WC-REST API version to 1.0.8
2020-05-12 06:48:21 -07:00
Christopher Allford
ee01d42192
Merge pull request #26411 from barryhughes/patch-1
...
Pass the result of _n() through sprintf() to ensure placeholders are replaced
2020-05-11 20:06:54 -07:00
Christopher Allford
66dd912ee3
Merge pull request #26430 from helgatheviking/issues/26334-clear-upsells-for-twenty-twenty
...
clear floats for upsells and related products. Closes #26334 .
2020-05-11 20:05:17 -07:00
Christopher Allford
37f0ed27f9
Merge pull request #26409 from woocommerce/add/26381/order-search-tracks
...
Add tracking event on order search.
2020-05-11 20:04:55 -07:00
Christopher Allford
5b427c1155
Merge pull request #25654 from miguelfspinto/patch-2
...
Add option to override element tag container in checkout forms
2020-05-11 20:03:22 -07:00
Christopher Allford
278cadea67
Merge pull request #26080 from yoavf/fix/helper-toggle-rtl
...
Addons/Helper: fix toggles in RTL mode
2020-05-11 19:58:45 -07:00
Christopher Allford
8332410939
Merge pull request #26308 from vandekul/master
...
Fix matching zones query for working with sqlite
2020-05-11 19:58:17 -07:00
Christopher Allford
71c49e9ef9
Merge pull request #26296 from abhishek-pokhriyal/fix/incorrect-argument-count
...
Correct argument count for action hooked on `woocommerce_process_shop…
2020-05-11 19:57:53 -07:00