Commit Graph

29760 Commits

Author SHA1 Message Date
Renovate Bot 658165d10a
Update dependency eslint to v5.12.1 2019-01-18 22:04:14 +00:00
Claudiu Lodromanean 7f78cc3acc
Merge pull request #22334 from Prospress/fix/22326
add gutenberg block preprocessor filter to shop page content
2019-01-18 09:29:28 -08:00
Eric Defore 148e308d38 Have ProductGallery object utilize arguments that are passed into it. 2019-01-18 12:20:13 -05:00
Eric Defore c1c8a88920 Add before and after Events for Product Galleries on Product Single 2019-01-18 12:08:38 -05:00
Jesper V Nielsen 1430dcb11d
Added DK (Danish ) To locale-info
Added danish locale-info settings.
example: DKK 12.345,67
The tax rate is called "Moms"

Som will argue, that the currency code could be "kr", but thats not default in WooCommerce, and the organizations who has to accept cart payment on the shops, states that if a danish shop, sells to foregin countries, the currency must be DKK
2019-01-18 11:22:07 +01:00
Ron Rennick dad1ffb4c9 use function_exists instead of version_compare 2019-01-17 16:14:53 -04:00
Claudiu Lodromanean 3bb5d2ee79
Merge pull request #22446 from woocommerce/fix/22285
Hide 0 costs for local pickup
2019-01-17 12:10:37 -08:00
Claudio Sanches e584d385f8
Merge pull request #22486 from woocommerce/update/phpcs-precommit-param
Show rule name when running PHPCS on precommit.
2019-01-17 17:51:30 -02:00
Claudio Sanches 5294fb7e12
Merge pull request #22490 from woocommerce/renovate/pin-dependencies
Pin dependencies
2019-01-17 17:48:26 -02:00
Renovate Bot 62e4eaa701
Pin dependencies 2019-01-17 18:47:27 +00:00
Claudio Sanches 4c04e1a22f
Merge pull request #21976 from woocommerce/update/pre-commit
New pre-commit hook for PHP, JS and SCSS
2019-01-17 16:46:46 -02:00
Claudio Sanches 720fd3f2e8 Included command to update hooks 2019-01-17 16:46:11 -02:00
Claudio Sanches f1090d6222 Merge branch 'master' into update/pre-commit 2019-01-17 16:23:50 -02:00
Rodrigo Primo 29ff0b9b88 fix phpcs errors 2019-01-17 14:55:24 -02:00
Mike Jolley fa6e2536db Tweak cost display logic 2019-01-17 13:56:11 +00:00
Mike Jolley ac29165892
Merge pull request #22459 from woocommerce/fix/21770
Prevent selected payment method description box from sliding up
2019-01-17 13:35:22 +00:00
Mike Jolley d7476c7217
Merge pull request #22466 from woocommerce/fix/22036
Fixed padding of addresses in email template
2019-01-17 13:34:30 +00:00
Mike Jolley 34a4457a0d phpcs 2019-01-17 13:33:57 +00:00
RobertoDonPedro 3a2b3d10ad
Filter get_item_tax_rates in class-wc-cart-totals.php
Adds filter on the return value of function 'get_item_tax_rates' to prevent the mandatory caching of tax rates, described in https://github.com/woocommerce/woocommerce/issues/21855
2019-01-17 13:57:31 +01:00
Peter Fabian ede86d8307 Made municipality address field optional for Latvia. 2019-01-17 13:18:31 +01:00
Gerhard cadcad2c6a Add the -s param to the PHPCS command to see the rules it is failing again when running the precommit hook. 2019-01-17 13:23:14 +02:00
Gerhard 98948a2faf PHPCS fixes 2019-01-17 08:32:42 +02:00
Gerhard f3d9eeeef3 Introduce wc_reviews_enabled, wc_review_ratings_enabled and wc_review_ratings_required as helper functions and update all places where options are accessed directly. 2019-01-17 08:04:57 +02:00
Gerhard 8a685c3303 is_vat_exempt check on orders expect a yes/no and not a bool, save values as string. 2019-01-17 07:46:45 +02:00
Jesús Ramirez 4c8662c7f1
Update wc-core-functions.php 2019-01-16 16:51:07 -04:00
Claudiu Lodromanean 3dee72eddc
Merge pull request #22452 from woocommerce/fix/21700
[REST API] Variations endpoint - Removed extra inherited filters from product endpoint
2019-01-16 09:41:40 -08:00
Claudiu Lodromanean 6540e89425
Merge pull request #22445 from woocommerce/fix/21996
Change priority of notices on the account page
2019-01-16 09:40:51 -08:00
Claudiu Lodromanean c2c7cbeccb
Merge pull request #22444 from woocommerce/fix/22119
Fix checkout field locales on first load
2019-01-16 09:39:42 -08:00
Claudiu Lodromanean df2cd4b232
Merge pull request #22439 from woocommerce/fix/22430
Make sure WC active before running queries for MS widget
2019-01-16 09:38:24 -08:00
Claudiu Lodromanean f4d1587652
Merge pull request #22419 from woocommerce/fix/22010
Remove on-hold orders from tax reports
2019-01-16 09:37:09 -08:00
Claudiu Lodromanean 989865469e
Merge pull request #22416 from woocommerce/fix/21871
Incorrect rounding of multiple tax rates per location
2019-01-16 09:32:51 -08:00
Claudiu Lodromanean 86f05bbd7a
Merge pull request #22320 from Prospress/fix/22197
use slug sanitization on product export category slugs
2019-01-16 09:31:43 -08:00
Ron Rennick 9337ca51e4 add WP version check for short description block filter 2019-01-16 12:49:25 -04:00
Mike Jolley 932f68565a
Merge pull request #22479 from rodrigoprimo/add/travis-wordpress-nightly
Add a new Travis job to run WC unit tests using WordPress nightly
2019-01-16 16:39:30 +00:00
Mike Jolley ca3623fa41
Merge pull request #22461 from woocommerce/fix/21761
Bail if getimagesize fails in filter_image_sizes_to_only_missing_thumbnails
2019-01-16 16:37:09 +00:00
Mike Jolley 78ca5c0290
Merge pull request #22277 from johnrom/fix/22276
Add a filter, woocommerce_current_user_can_edit_customer_meta_fields
2019-01-16 16:31:18 +00:00
Mike Jolley 8c32574f30
Merge pull request #22469 from woocommerce/fix/22453
notify script plugins that the cart was emptied
2019-01-16 16:27:33 +00:00
John Rom 741435d816 Switch user meta permissions filter from user data to user id 2019-01-16 11:20:42 -05:00
John Rom 130a36107c Added filter to the save method so it is not bypassable 2019-01-16 11:00:46 -05:00
John Rom 186a1d5b7e Combine permission conditions into a single filter provided the default value 2019-01-16 10:56:26 -05:00
plexus admin 9acc7ced5d Add function wc_get_is_pending_statuses 2019-01-16 09:54:02 -06:00
Mike Jolley 4fc197c67d
Merge pull request #21003 from Chunkford/patch-2
Giving the ability to add custom pricing data - read_price_data()
2019-01-16 15:22:40 +00:00
Mike Jolley 1125a5d76d
Merge pull request #22380 from Prospress/fix/22261
register order auto drafts post status
2019-01-16 15:11:48 +00:00
Mike Jolley c70bef3e9c Merge branch 'pr/22350' 2019-01-16 14:48:14 +00:00
Mike Jolley 2d44e90542 CS 2019-01-16 14:47:59 +00:00
Ron Rennick 5bba703723 update trigger name to `wc_cart_emptied` 2019-01-16 10:36:35 -04:00
Gerhard 68c4ce44e4 Update shopmanager display name 2019-01-16 16:01:39 +02:00
Gerhard 436875fa71 Clean products xml with attachments 2019-01-16 15:55:03 +02:00
Ron Rennick bc33f19630 add order draft status filter to allow resuming editing 2019-01-16 09:52:18 -04:00
Mike Jolley 213ba99664
Merge pull request #21961 from sebastianpisula/patch-1
New params for woocommerce_shipping_zone_*_methods_table actions
2019-01-16 13:01:45 +00:00