Mike Jolley
58118997a9
Merge pull request #13069 from jaydeeprami/Fix-Issue-13067
...
Fixed issue ref #13067
2017-02-06 12:36:53 +01:00
Jaydeep
91cd899989
Fixed issue ref #13067
2017-02-06 14:35:55 +05:30
Mike Jolley
497b4d986c
Merge pull request #13047 from thenbrent/backward_compat_for_email_order_items
...
Reinstate old show/hide logic for download links and purchase notes in email order item table
2017-02-03 11:02:17 +01:00
Mike Jolley
244b42eae8
Merge pull request #13048 from woocommerce/fix/cart-discount-call
...
Fix call to non-existent method for cart_discount.
2017-02-03 11:00:54 +01:00
Mike Jolley
8a0761fdf5
Merge pull request #13057 from thenbrent/fix_undefined_index
...
Fix undefined index notice in WC_Webhook:: should_deliver()
2017-02-03 10:59:36 +01:00
Brent Shepherd
4147935990
Fix undefined index notice in WC_Webhook
2017-02-02 12:52:00 -08:00
Brent Shepherd
fe7e280ea0
Reinstate woocommerce_email_order_items_args hook
2017-02-02 12:26:59 -08:00
Claudio Sanches
1fe705547f
Fixed REST API batch tests
2017-02-02 19:20:07 +01:00
Claudio Sanches
5eb08aeda6
[REST API] Cast int for batch delete
2017-02-02 19:09:45 +01:00
Mike Jolley
2ec4b8cf7f
Revert "Get rating count should use is_array"
...
This reverts commit 0625a2b759
.
2017-02-02 18:43:43 +01:00
Mike Jolley
0625a2b759
Get rating count should use is_array
2017-02-02 18:35:30 +01:00
Boro Sitnikovski
5f05b2e3d8
Fix call to non-existant method for cart_discount.
2017-02-02 09:45:09 +01:00
Brent Shepherd
75bcbbf959
Maintain old show/hide email order item logic
...
When SHA: 7b3a9b introduced wc_get_email_order_items(), it slightly
changed the logic applied to determine whether to display:
* download links; and
* purchase notes.
In WC 2.6.13 and older, WC_Abstract_Order::email_order_items_table()
would only display download links and purchase note in emails *not*
sent to the admin. This patch preserves that behaviour.
2017-02-01 18:12:21 -08:00
Claudio Sanches
247c9aff50
Merge pull request #13032 from woocommerce/fix/order-date-direct-access
...
Fix direct access to order_date property
2017-02-01 10:00:06 +01:00
Claudio Sanches
79256504a1
[REST API] Products endpoint fixes, closes #13031
2017-02-01 09:58:04 +01:00
Claudio Sanches
73603ac3cc
Merge pull request #13037 from thenbrent/add_wc_order_get_valid_statuses
...
Add WC_Abstract_Order::get_valid_statuses()
2017-02-01 09:53:36 +01:00
Claudio Sanches
ad4c2d73f4
Merge pull request #13041 from woocommerce/fix-13014
...
Update Zoom to 1.7.18
2017-02-01 09:48:15 +01:00
Caleb Burks
4e59f08918
Update Zoom to 1.7.18
2017-01-31 22:47:25 -06:00
Brent Shepherd
7a7c0fbce6
Add WC_Abstract_Order::get_valid_statuses()
...
So that classes which extend WC_Abstract_Order can define custom statuses
specifically for their order type and have those used for validation in
WC_Abstract_Order::set_status() instead of only the order statuses defined
by wc_get_order_statuses().
For example, the subscription order type has a number of custom order statuses,
like 'wc-active' and 'wc-expired', which do not apply to orders but are valid
statuses for WC_Subscription objects, which extend WC_Abstract_Order.
2017-01-31 15:00:03 -08:00
Boro Sitnikovski
58d7e6d940
Fix direct access of order_date property
2017-01-31 17:29:09 +01:00
Mike Jolley
5b221b4ed0
Edit context
...
#12936
2017-01-31 17:26:49 +01:00
Mike Jolley
efcbdc3031
Tweaks for #12805
...
Closes #12805
2017-01-31 17:25:57 +01:00
Mike Jolley
724f832b40
Fix get_template_loader_files
...
Fixes #12958
2017-01-31 09:56:27 +01:00
Mike Jolley
22260bfb96
Merge pull request #13021 from Chouby/ajax_wp_die
...
Use wp_die instead of die in ajax responses
2017-01-31 09:45:46 +01:00
Mike Jolley
a4b3244d7b
Merge pull request #13028 from woocommerce/fix-13027
...
Allow password resets when account page isn’t set
2017-01-31 09:45:16 +01:00
Mike Jolley
429b7534bb
Merge pull request #13029 from woocommerce/fix-13025
...
Fix wording on deprecation messages
2017-01-31 09:39:57 +01:00
Mike Jolley
dee73d4056
Use edit context on load
...
Closes #12936
2017-01-31 09:39:19 +01:00
Caleb Burks
df7f3533bc
Fix wording on deprecation messages
2017-01-30 23:40:21 -06:00
Caleb Burks
9b22886a0d
Allow password resets when account page isn’t set
2017-01-30 22:59:32 -06:00
Mike Jolley
55c9554ace
Use MDL
...
Closes #13016
2017-01-30 10:35:47 +01:00
Mike Jolley
1cee800b4e
Merge pull request #13020 from Chouby/shop_on_front
...
Check SHOP_IS_ON_FRONT existence before defining it
2017-01-30 09:27:14 +00:00
Frédéric Demarle
4075024bb9
Use wp_die intead of die in ajax responses
2017-01-29 21:43:25 +01:00
Frédéric Demarle
e03000126e
Check SHOP_IS_ON_FRONT existence before defining it
2017-01-29 21:32:26 +01:00
Mike Jolley
abe87d9bfa
Merge pull request #12967 from woocommerce/fix/variation-get-name
...
Clean up variation names.
2017-01-27 17:01:34 +00:00
Mike Jolley
9c523d2bc1
Merge branch 'pr/12937'
...
# Conflicts:
# templates/single-product/product-image.php
2017-01-27 16:52:46 +00:00
Mike Jolley
9bc5eefc98
Use array for class filter
2017-01-27 16:52:23 +00:00
Claudio Sanches
346e1ea1e0
Merge pull request #12996 from woocommerce/rest-api-missing-types-args
...
REST API Types
2017-01-27 14:49:35 -02:00
Mike Jolley
6a997ec6b2
Merge pull request #13001 from thenbrent/honour_default_checkout_get_value
...
Honour default checkout_get_value
2017-01-27 16:42:32 +00:00
Mike Jolley
365b456fa5
Make sure product is set.
2017-01-27 16:39:53 +00:00
Claudio Sanches
24a5fe7592
Make WC_REST_Exception extend WC_Data_Exception
2017-01-27 13:52:21 -02:00
Claudio Sanches
8c84836423
Merge pull request #12998 from todeveni/patch-3
...
Cast position as integer
2017-01-27 13:20:52 -02:00
Claudio Sanches
80bc7128be
Merge pull request #13002 from thenbrent/fix_undefined_variable_function
...
Fix "Undefined variable: function" notice
2017-01-27 13:19:07 -02:00
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
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