Commit Graph

19138 Commits

Author SHA1 Message Date
Claudio Sanches 59baa961bb Merge pull request #13003 from thenbrent/fix_deprecated_action_messages
Fix deprecated action messages
2017-01-27 13:18:51 -02:00
Mike Jolley bf24ba395d Use get_theme_support for gallery features 2017-01-27 14:13:54 +00:00
Mike Jolley 2bbc363033 wiki 2017-01-27 11:24:16 +00:00
Mike Jolley 148dcc836b wiki image 2017-01-27 11:19:36 +00:00
Brent Shepherd 0e393da2cd Fix woocommerce_order_add_product deprecation msg 2017-01-26 16:58:47 -08:00
Brent Shepherd 5e77311384 Fix deprecated action messages
Don't end sentence with double .. and instead of "Replace with Use CRUD"
just say "Replace with CRUD"
2017-01-26 16:44:28 -08:00
Brent Shepherd 7a77c70d2a Fix "Undefined variable: function" notice
Triggered whenever wc_deprecated_argument() is called in an Ajax request.

Related to #12889
2017-01-26 16:31:11 -08:00
Brent Shepherd 50da0ebd4a Fix default WC_Checkout::get_value() behaviour
Prior to SHA: 43d362d1, WC_Checkout::get_value() would set the default value
for an $input whenever the value after was null after being passed through
filters. This logic changed with SHA: 43d362d1 to *always* return the filtered
value, even if the value was not changed by filters and was still null.

This means if any code filters just one checkout value, like order_comments,
then all other checkout values will default to null, because the has_filter()
check will pass, but the default null value won't be modified by that callback.
2017-01-26 14:47:43 -08:00
Toni Viemerö 2d92bdece6 Cast position as integer
Even though I'm sending `position` as integer in my REST request, it comes through as string value.

```
array (
  'id' => '186',
  'position' => '0',
)
```
2017-01-26 23:08:12 +02:00
Mike Jolley 7e1dda6d92 Merge pull request #12995 from todeveni/patch-2
Remove tilde from i
2017-01-26 20:59:58 +00:00
Mike Jolley e930ccd16e object types to fix unit tests 2017-01-26 20:58:55 +00:00
Toni Viemerö 2b00615fa2 Remove tilde from i 2017-01-26 22:55:23 +02:00
Brent Shepherd e7e434da4b WC_Product_Variable::sort_variation_prices()
To keep variation sorting logic inside the variable product, and separate
from the database storage logic in WC_Product_Variable_Data_Store_CPT
2017-01-26 12:47:46 -08:00
Mike Jolley 82d7fe6e73 Added more missing args and types 2017-01-26 20:33:39 +00:00
Mike Jolley b727c61da7 Missing arg and setting types 2017-01-26 20:06:18 +00:00
Mike Jolley 2d23705431 ID arg definitions 2017-01-26 19:22:57 +00:00
Mike Jolley def35a5aa2 Cast request ids to int 2017-01-26 18:34:11 +00:00
Mike Jolley 3632660d2c Merge pull request #12993 from jaydeeprami/Fix-Issue-12986
Fixed issue #12986
2017-01-26 18:10:26 +00:00
Jaydeep Rami 615ba59ebb Fixed issue #12986 2017-01-26 23:21:34 +05:30
Justin Shreve 0b1685c76b Remove variation get_name, it will get it from parent. 2017-01-26 07:48:04 -08:00
Justin Shreve 7b1adfb98f Bake out of get_title deprecation changes 2017-01-26 07:46:59 -08:00
Mike Jolley f457c25055 Remove unused is_touch_device 2017-01-26 15:19:37 +00:00
Mike Jolley de6d1d23be Merge branch 'fix-12922'
# Conflicts:
#	assets/js/frontend/single-product.js
2017-01-26 14:59:30 +00:00
Mike Jolley 41f3572b23 Merge branch 'fix-12922' 2017-01-26 14:57:51 +00:00
Mike Jolley d2f4859f18 Merge branch 'pr/12938' 2017-01-26 14:50:49 +00:00
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