Commit Graph

33408 Commits

Author SHA1 Message Date
Claudio Sanches 7024fc8483 Change notices to accept extra data 2019-11-07 20:23:30 -03:00
Claudio Sanches fdd391e10e Introduced wc_get_pay_buttons() function 2019-11-07 17:23:38 -03:00
Claudio Sanches ced207633c Added unit tests for pay button support 2019-11-07 17:23:19 -03:00
Claudio Sanches d53b73b56c Added support for "pay button" feature 2019-11-07 17:22:33 -03:00
Luminus Olumide Alabi f8709ab83f Account for non-EU countries that collect VAT and rename tax to VAT on the frontend for them 2019-11-07 19:48:05 +00:00
David Stone 0d5c697123 Check that is really an attachment and not the global $post object.
Prevents Notices of Trying to access array offset on value of type bool because $src variables will be false.
2019-11-06 00:26:10 -07:00
vedanshujain 90a45ef9ef Update version to 3.9.0-dev 2019-11-05 17:23:52 +05:30
vedanshujain 59e6fbc9d8 Update stable version and readme.txt 2019-11-05 17:07:56 +05:30
Anass Rahou 2c01ddf09d Use standarized plugin file path constant 2019-11-04 17:27:30 -05:00
Renovate Bot 5130aa3319
Update dependency phpunit/phpunit to v7.5.17 2019-11-04 13:39:09 +00:00
Vedanshu Jain a6819ad495
Merge pull request #24922 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.4.5
2019-11-04 17:19:13 +05:30
Vedanshu Jain 8462703937
Merge pull request #24952 from woocommerce/fix/24430-2
Removed links to downloadable products from refund emails
2019-11-04 13:15:25 +05:30
Peter Fabian b3115bccc5 Changed caching invalidation by using increment to using microtime.
This is a similar problem that WP core faced in https://core.trac.wordpress.org/ticket/23448.
2019-11-03 14:14:53 +01:00
Renovate Bot 20e6d34b1d
Update dependency woocommerce/woocommerce-blocks to v2.4.5 2019-11-02 13:57:27 +00:00
Peter Fabian a2cd974d79 Don't display Downloads section on refund emails. 2019-11-01 15:51:30 +01:00
itzmekhokan 3abae6db1b Fixed coding standards for this comment. 2019-11-01 15:35:23 +01:00
itzmekhokan 8b99e00b2d Fixed wordpress coding standard 2019-11-01 15:35:08 +01:00
itzmekhokan e9833c1ea0 Fixed issue #24430 2019-11-01 15:34:50 +01:00
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
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
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
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
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
vedanshujain 004f149e25 Updated changelog since this PR was reverted 2019-10-25 11:30:28 +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