Commit Graph

20024 Commits

Author SHA1 Message Date
Julia Amosova 8fe149d56d
Merge pull request #26670 from woocommerce/tweak/26123
Add note to Products Importer description that TXT files are also supported.
2020-06-02 15:00:36 -04:00
Claudio Sanches adca2cb73d
Merge pull request #26644 from tivnet/patch-6
class-wc-shortcode-products.php - fix spelling in a comment
2020-06-02 15:56:16 -03:00
Julia Amosova 479cac4fc0 Add note to Products Importer that TXT files are also supported. 2020-06-02 12:55:06 -04:00
Julia Amosova f929bacfc6 Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of SSR. 2020-06-02 11:12:47 -04:00
Gregory Karpinsky 3d02da9a03
Update wc-template-functions.php
Fix variable name in docblock
2020-05-31 08:43:44 -04:00
Gregory Karpinsky 42bc3d3bf3
Update class-wc-shortcode-products.php
Spelling in a comment
2020-05-31 08:27:14 -04:00
Claudio Sanches 2acc24f489 Added missing trailing slash 2020-05-26 17:23:37 -03:00
Claudio Sanches a240798362 Don't allow redirection while checking for uploads directory 2020-05-25 10:31:58 -03:00
Christopher Allford 93811e0a56
Merge pull request #25753 from woocommerce/fix/25752-wc_get_shipping_method_count-check-enabled
Add is_enabled=1 check in wc_get_shipping_method_count()
2020-05-21 11:44:36 -07:00
Joshua Flowers b7bca44beb Call callback on tracking script load error 2020-05-19 18:19:19 +03:00
Vedanshu Jain 5adaa5667e
Merge pull request #26493 from woocommerce/fix/26466
Add function to allow client-side enabling of tracks
2020-05-19 16:30:45 +05:30
Vedanshu Jain 7fb1079137
Merge pull request #26399 from woocommerce/fix/uploads_htaccess
Disable directory listing for redirect download method
2020-05-19 15:56:37 +05:30
Joshua Flowers 07b1887c2b Use var instead of const 2020-05-18 19:11:29 +03:00
Claudio Sanches eea062f9fa
Merge pull request #26519 from woocommerce/fix/csv-import-special-columns
Fixed the case conversion for meta key column mapping in product CSV imports
2020-05-18 11:33:50 -03:00
Peter Fabian e3e72e0423
Merge pull request #26500 from woocommerce/fix/26443
Refresh db update nonce on the Thank you notice
2020-05-18 14:36:13 +02:00
Albert Juhé Lluveras 9a34c4fe75 Update WC shipping settings so no shipping zones banner appears when all are deactivated 2020-05-15 16:32:12 +02:00
Néstor Soriano 8b0d4ef050
Merge pull request #26386 from woocommerce/fix/26355
Set an error ID for each WP_Error entry
2020-05-15 12:09:14 +02:00
Albert Juhé Lluveras 973e50ab64 Add param to wc_get_shipping_method_count() 2020-05-15 11:22:28 +02:00
Albert Juhé Lluveras de7ca06b41 Set is_enabled=1 instead of is_enabled=true 2020-05-15 11:02:12 +02:00
Albert Juhé Lluveras 33b0bef8c5 Add is_enabled=true check in wc_get_shipping_method_count() 2020-05-15 11:02:12 +02:00
Peter Fabian 0934f4a147 Merged should_show_notice and show_reminder and simplified logic.
Removed redundant calls to the same functions as this code runs on each admin pageload.
2020-05-15 10:24:30 +02:00
Néstor Soriano b9875a4fc1
Merge pull request #26445 from tsteur/issue_26414
Add hooks to "Add payment method form" to show additional fields and validate input
2020-05-15 10:16:53 +02:00
Peter Fabian 2f141eca77 PHPCS 2020-05-15 09:40:23 +02:00
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
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
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
Claudio Sanches f01c5a3b79 Start 4.3.0 development 2020-05-12 17:49:20 -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 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
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 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 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 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
Christopher Allford c52a6ffc2c
Merge pull request #26387 from woocommerce/fix/26329
Allow schedule coupons via CRUD
2020-05-11 19:57:16 -07:00
Christopher Allford 7e2e9b8695
Merge pull request #26167 from woocommerce/fix/25889
Removed  legacy notification to connect with WooCommerce
2020-05-11 19:56:46 -07:00
Christopher Allford 75d23712ff
Merge pull request #26272 from tolu-paystack/hide-ghana-postcode
Hide Postcode/Zip field on billing/shipping form when Ghana is selected
2020-05-11 19:55:48 -07:00