Commit Graph

19063 Commits

Author SHA1 Message Date
Mike Jolley e99d8c9ef6 Name filter woocommerce_single_product_image_thumbnail_html 2017-01-26 14:50:40 +00:00
Mike Jolley de312bc780 Merge pull request #12981 from shivapoudel/remove-cart-notices
Fix - Don't preserve cart notices for quantity update
2017-01-26 14:14:14 +00:00
Mike Jolley 40e9eabf9f Merge pull request #12983 from woocommerce/get_tax_classes
WC_Tax::get_tax_class_slugs()
2017-01-26 14:10:04 +00:00
Mike Jolley beb92dd83d Readme for #12821 2017-01-26 14:08:35 +00:00
Mike Jolley 173543ba82 Merge pull request #12821 from woocommerce/fix-12713
Don’t erase payment details w/ ‘update_checkout’
2017-01-26 14:07:31 +00:00
Mike Jolley 9eaffcde42 Merge pull request #12980 from woocommerce/fix/payment-token-update-props
When updating payment tokens, only update the props that have changed & fire off a hook of the changed props.
2017-01-26 14:06:44 +00:00
Mike Jolley 69483b242e Merge pull request #12982 from woocommerce/disable-coverage-reports
Disable coverage except on master, not PR, latest stable builds
2017-01-25 23:28:01 +00:00
Justin Shreve 3ad0ef5556 Merge pull request #12984 from woocommerce/ryanr14-video-translation-404-1
Update CONTRIBUTING.md
2017-01-25 14:00:38 -08:00
Ryan Ray 393c8bf9c5 Update CONTRIBUTING.md
Fixed a broken link for translating videos, hat tip Justin. ;)
2017-01-25 16:59:04 -05:00
Justin Shreve e176f008b8 Add some comments for the return value of get_tax_classes and get_tax_class_slugs 2017-01-25 13:48:29 -08:00
Justin Shreve 474a307420 Introduce get_tax_class_slugs. 2017-01-25 13:38:13 -08:00
Jon Surrell 994167046f Disable coverage except on master, not PR, 7.1 builds
This should vastly increase most automated travis builds.
Coverage reports are only interesting on master and not needed on all PRs.
2017-01-25 22:28:57 +01:00
Justin Shreve e8237eab3d Merge pull request #12965 from woocommerce/update/duplicate-product
Update WC_Admin_Duplicate_Product to use CRUD.
2017-01-25 12:18:49 -08:00
Justin Shreve bcae0166fd Fix spacing error, return objects on our new hook, and force sku to be unique when duplicating. 2017-01-25 11:44:27 -08:00
Shiva Poudel 04bfa3c36d Fix - Don't preserve cart notices for quantity update
Closes #12877
2017-01-26 01:05:38 +05:45
Justin Shreve 32651f638c When updating payment tokens, only update the props that have changed + fire off a hook of the changed props. 2017-01-25 11:05:54 -08:00
Justin Shreve 318046789c Comment clarifying translation wrapper. 2017-01-25 10:40:14 -08:00
Justin Shreve 9889efec75 Catch Product # titles and remove error logs 2017-01-25 10:37:48 -08:00
Justin Shreve f344143b63 Catch variation text and update 2017-01-25 10:27:28 -08:00
Mike Jolley 9ef0844ac5 Merge pull request #12976 from todeveni/patch-1
Add Finnish defaults
2017-01-25 11:04:06 +00:00
Toni Viemerö 2078c9b816 Add Finnish defaults 2017-01-25 11:59:32 +02:00
Caleb Burks 4f9aebd690 Spacing
New editor probs
2017-01-24 21:19:10 -06:00
Caleb Burks ded7914dba Add support for radio buttons
Stripe’s saved card radio options for example.
2017-01-24 21:11:39 -06:00
Caleb Burks 273952085c Trigger change() when refilling payment details 2017-01-24 20:35:06 -06:00
Mike Jolley 9f7e1da1ee Add variation prices explanation to readme
Closes #12933
2017-01-25 01:21:29 +00:00
Mike Jolley f4cb813987 Merge pull request #12940 from proArtex/master
checkout.js: add submiting order errors wrapper
2017-01-25 01:01:18 +00:00
Mike Jolley aadc1094e0 Merge pull request #12939 from maximus80/carousel-filter
add animationLoop to woocommerce_single_product_carousel_options filter
2017-01-25 00:47:34 +00:00
Mike Jolley 0df50c59a3 Merge pull request #12972 from woocommerce/log-handler-interface
Add log handler interface
2017-01-25 00:42:50 +00:00
Mike Jolley e9b0fba63c Merge pull request #12953 from pierrebuet/master
Updating the way select2 v4 loads translated strings
2017-01-25 00:22:47 +00:00
Mike Jolley 3a104df5bd Merge pull request #12966 from thenbrent/dry_get_data
Remove redundant WC_Product::get_data() method
2017-01-25 00:12:16 +00:00
Mike Jolley 5746c87580 Merge pull request #12968 from woocommerce/updated-props-action
Fire actions for updated props
2017-01-25 00:10:48 +00:00
Mike Jolley 3afb00da06 Fixed Typo 2017-01-25 00:09:57 +00:00
Mike Jolley ea817a5c88 Merge pull request #12970 from thenbrent/check_variation_post_type
Check post type during read of product variations
2017-01-25 00:08:54 +00:00
Mike Jolley 76f5bc9b79 Merge pull request #12971 from thenbrent/add_read_extra_data
Add WC_Product_Data_Store_CPT::read_extra_data()
2017-01-25 00:08:18 +00:00
Jon Surrell 65b5e4181f Use __METHOD__ over "{$class}::{$method}" 2017-01-24 23:09:24 +01:00
Jon Surrell 2bd8b6efbc Validate handlers implement WC_Log_handler_Interface
Add tests for interface validation.
2017-01-24 23:07:58 +01:00
Mike Jolley 90fd0da7d0 Fire actions for updated props 2017-01-24 21:38:02 +00:00
Brent Shepherd 49095f0a6c Check post type during read of product variations
Continuation of #12795
2017-01-24 12:28:02 -08:00
Brent Shepherd f2cb083bd6 Read extra data for variation products
So that classes can extend WC_Product_Variation and use the existing
WC_Product_Variation_Data_Store_CPT class, rather than having to create
a new data store class to set the WC_Product_Variation::$extra_data
values.
2017-01-24 12:20:15 -08:00
Brent Shepherd 56c427acba Add WC_Product_Data_Store_CPT::read_extra_data()
So that a product's $extra_data can also be read by child classes of
WC_Product_Data_Store_CPT, like WC_Product_Variation_Data_Store_CPT,
without duplicating the code to read it.
2017-01-24 12:18:35 -08:00
Justin Shreve 2b464d2e52 Deprecate get_title and it's hook, use get_name instead and pull name from parent. 2017-01-24 12:10:36 -08:00
Justin Shreve 10d3e2d580 Update WC_Admin_Duplicate_Product to use CRUD. 2017-01-24 11:57:48 -08:00
Mike Jolley 3dd6b483e5 Merge pull request #12963 from woocommerce/fix/get_hook_prefix
Fix get_hook_prefix format
2017-01-24 19:39:59 +00:00
Justin Shreve dcecf0f228 Fix get_hook_prefix format 2017-01-24 11:02:06 -08:00
Brent Shepherd 2cf401f60f Delete WC_Product::get_data()
It's identical to WC_Data::get_data(), which is already inherited from
WC_Abstract_Legacy_Product (which extends WC_Data::get_data()).
2017-01-24 10:44:51 -08:00
Justin Shreve 2cdf950963 Merge pull request #12950 from woocommerce/fix/meta-update
Data Stores & update_post_meta: Update changed & keys that don't exist.
2017-01-24 07:14:54 -08:00
Mike Jolley db186381ba Merge pull request #12959 from Ramoonus/patch-11
composer: composer/installers to 1.2
2017-01-24 14:17:30 +00:00
Ramon van Belzen acbcad87a6 composer: composer/installers to 1.2 2017-01-24 14:17:16 +01:00
Jon Surrell 8e0f40d3d1 Add WC_Log_Handler_Interface
Abstract class `WC_Log_Handler` implements interface
2017-01-24 14:10:05 +01:00
Mike Jolley eb2b9d78f8 Merge pull request #12947 from woocommerce/improve-rest-api-error-data
Allow pass error data using WC_Data_Exception
2017-01-24 12:45:49 +00:00