Commit Graph

35738 Commits

Author SHA1 Message Date
Renovate Bot a2c6e79d2f
Update dependency autoprefixer to v9.7.1 2019-11-01 01:13:12 +00:00
Adel Tahri 859a041e80
Update abstract-wc-csv-batch-exporter.php
Update "Exit if accessed directly"
2019-10-31 15:58:54 +01:00
Gerhard f03c82d749 Fix method call and unit test 2019-10-31 11:28:19 +02:00
Gerhard 7c6eb45518 Add unit tests for WC_Countries::get_european_union_countries and WC_Countries::get_vat_countries 2019-10-31 09:43:05 +02:00
Gerhard 00ade79647 Remove GB from WC_Countries::get_european_union_countries and add them to WC_Countries::get_vat_countries 2019-10-31 09:33:14 +02:00
Gerhard 34e486940d Refactor WC_Countries::get_european_union_countries method to exclude VAT handling.
Add new WC_Countries::get_vat_countries for returning countries supporting VAT.
2019-10-31 09:18:34 +02:00
Ian Jenkins 2340f269cf Add support for custom attributes to wc_placeholder_img().
When displaying a list of images you often want a specific class to be
attached to each image, therefore you pass through a custom class using
the attr parameter. Unfortunately this doesn't get passed through to a
placeholder image should one be needed. This means that, for example, if
you're custom class center an image or something, it won't be honoured
for placeholders, which can lead to some wonky image listings.

You can work around this currently by leverging the
`woocommerce_product_get_image` filter, but it's a bit gnarly as you
need to do some regexing or string splitting or something and checking
class names and what not. This provides a much easier way, by
supporting custom attrs on placeholder images as is the case for non
placehodler images.
2019-10-30 15:08:19 +00:00
Gerhard 0cda53580f Do not run send_frame_options_header when on the customizer 2019-10-30 15:37:04 +02:00
Gerhard 40faecc8e7 Add show_invalid_variations_notice filter to hide the invalid variations notice. 2019-10-30 15:17:31 +02:00
Arnaud Faucon e8b1d617a1 pass the clear persistent cart variable to the cart emptied actions 2019-10-30 09:14:45 +01:00
Kathy Daring e55af6431c Add woocommerce_admin_process_variation_object before $variation->save() 2019-10-29 11:50:52 -06:00
Renovate Bot 715db7d806
Update dependency chromedriver to v78 2019-10-28 15:48:57 +00:00
BrandynL 3ed614389f change event to click for better mobile device support 2019-10-28 09:56:20 -04:00
BrandynL 925bad1faf convert array instance to shorthand syntax 2019-10-28 09:35:39 -04:00
BrandynL 3fb3325e93 Merge branch 'master' into show-password-hover-on-wc-forms 2019-10-27 16:57:25 -04:00
BrandynL 6ed7278678 add password hover visibility on password inputs with javascript 2019-10-27 16:56:42 -04:00
Claudio Sanches 0e80bd4573 Introduced woocommerce_shipping_not_enabled_on_cart_html filter 2019-10-27 14:38:47 -03:00
Dhaval Shah 0fb01e6886 Rework confusing shipping message on cart page when calculator is disabled and no methods are available. (#24807)
* Check if shipping calculator is enabled before showing related message in cart totals.

Fixes #24674

* Check if on cart then is shipping calculator is enabled before showing related message. Fixes #24674

* Update no shipping available on cart message

Fix #24674
2019-10-27 14:36:41 -03:00
Vedanshu Jain cb21ea7a3d
Merge pull request #24913 from woocommerce/revert/24526
Revert PR 24526.
2019-10-27 18:27:27 +02:00
vedanshujain a6f7f17528 Remove changelog entry because commit was reverted. 2019-10-27 18:18:16 +02:00
vedanshujain 4a375e3e9c Revert PR 24526.
This reverts PR 24526 because in the refund mail this completely removes the downloadble product. We should instead only remove the downloadble link and keep the details of the product.
2019-10-27 18:14:44 +02:00
Prince Ahmed 5ae6d9a8d6
remove unnecessary codes 2019-10-27 00:07:31 +06:00
Claudio Sanches 2a2aa94ab1
Merge pull request #24900 from woocommerce/renovate/config-3.x
Update dependency config to v3.2.4
2019-10-25 18:31:00 -03:00
Renovate Bot 014c27ae96
Update dependency eslint to v6.6.0 2019-10-25 19:02:46 +00:00
Renovate Bot e19d8475ec
Update dependency config to v3.2.4 2019-10-25 18:34:34 +00:00
Julia Amosova 1b54fa78c9 Merge branch 'new/puppeteer-screenshot-tester' of https://github.com/woocommerce/woocommerce into new/puppeteer-screenshot-tester 2019-10-25 18:10:49 +02:00
Julia Amosova 0c7c88b662 Fix failing new variable product test 2019-10-25 18:10:15 +02:00
Rodrigo Primo 9a5f31e39b
Merge pull request #24893 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.7.0
2019-10-25 14:42:10 +02:00
Julia Amosova 2132981871
Merge pull request #24538 from woocommerce/new/wp-admin-settings-gen-product-e2e-test
Add 2 new Puppeteer e2e tests: settings general & product
2019-10-25 14:13:04 +02:00
Julia Amosova 88bfb1af50 Resolve conflicts with migration branch 2019-10-25 14:05:32 +02:00
Claudio Sanches 061b0f0b91 Fixed quotes style 2019-10-25 08:56:55 -03:00
Julia Amosova c7d81903ba
Merge pull request #24532 from woocommerce/new/wp-admin-new-order-coupon-e2e-test
Add 2 new Puppeteer e2e tests: new coupon & new order
2019-10-25 12:19:47 +02:00
Julia Amosova bcd74e80f7 Resolve conflicts with migration branch 2019-10-25 12:09:22 +02:00
Claudio Sanches f49f516077
Merge pull request #24848 from woocommerce/fix/24838
Remove selectWoo as script dependency since allow to disable selectWoo
2019-10-25 06:59:08 -03:00
Julia Amosova 4ce07e9387 Remove `moveToTrash` variable 2019-10-25 11:40:54 +02:00
vedanshujain 004f149e25 Updated changelog since this PR was reverted 2019-10-25 11:30:28 +02:00
Julia Amosova ec294e74fc Resolve conflicts with migration branch 2019-10-25 11:25:14 +02:00
Julia Amosova ae924fba0a Resolve conflicts with migration branch 2019-10-25 09:34:31 +02:00
Vedanshu Jain 8b04f37d22
Merge pull request #24810 from woocommerce/add/in-app-purchases-subs-cache-cleaning
Clean subscriptions' cache for auto-install flow
2019-10-25 10:27:47 +04:00
Rodrigo Primo bfdd87038e
Merge pull request #24894 from woocommerce/fix/background-process-string
Fixed translatable string, and duplication in WP_Background_Process
2019-10-24 15:39:21 +02:00
Claudio Sanches 2c965fcd4f Fixed translatable string, and duplication in WP_Background_Process 2019-10-24 10:22:43 -03:00
Renovate Bot 82bbe058d7
Update dependency autoprefixer to v9.7.0 2019-10-24 12:57:48 +00:00
Claudio Sanches fd42c5e388 Check text domains in libraries 2019-10-24 07:17:00 -03:00
Claudio Sanches c7b538aeff
Merge pull request #24887 from woocommerce/renovate/node-sass-4.x
Update dependency node-sass to v4.13.0
2019-10-24 04:29:49 -03:00
Menaka S 0ec7da3925 Add new function WC_Order::add_status_transition_note 2019-10-24 12:53:42 +05:30
Renovate Bot ac672d77cc
Update dependency node-sass to v4.13.0 2019-10-24 06:55:38 +00:00
Claudio Sanches 9b87f512d2 Return correct country key if default location not found 2019-10-23 14:27:11 -03:00
Claudio Sanches 237a047e26 Removed itemReviewed since is already nested to Product schema 2019-10-22 18:00:25 -03:00
Claudio Sanches 6a938800c5
Merge pull request #24874 from woocommerce/renovate/grunt-stylelint-0.x
Update dependency grunt-stylelint to v0.12.0
2019-10-22 17:42:22 -03:00
Claudio Sanches 569dfa4f4e
Merge pull request #24539 from woocommerce/new/wp-admin-settings-tax-e2e-test
Add new Puppeteer e2e test: tax settings
2019-10-22 17:39:49 -03:00