Claudio Sanches
0b60af0774
Merge pull request #14415 from woocommerce/fix/save-post-infinite-loops
...
Prevent infinite loops during save_post
2017-04-20 00:44:57 -03:00
Claudio Sanches
accf956632
Merge pull request #14500 from woocommerce/fix/14494
...
Removed the non-functional order total input and combine the recalculation buttons into one working button.
2017-04-20 00:43:22 -03:00
Claudio Sanches
60b3e3c123
[REST API] Fixed v1 order shipping taxes
...
Fixes #14518
2017-04-20 00:37:27 -03:00
claudiulodro
01a6b3bae0
Get updated product before doing low stock actions
2017-04-19 15:32:51 -07:00
Claudio Sanches
c90e71e890
Merge pull request #14509 from woocommerce/fix/14480
...
Only return product by SKU if published
2017-04-19 14:38:14 -03:00
Claudio Sanches
0d46a89f83
Check only if is not in trash
2017-04-19 14:27:19 -03:00
Claudiu Lodromanean
3768730641
Merge pull request #14520 from franticpsyx/fix-order-item-offset-get
...
[3.0.3] Fix Undefined property notice in `WC_Order_Item::offsetGet`
2017-04-19 10:16:42 -07:00
Claudiu Lodromanean
3152b35406
Merge pull request #14521 from woocommerce/fix/14507
...
wc_update_300_grouped_products update routine needs to unset the post_parent on grouped products
2017-04-19 10:16:12 -07:00
Claudiu Lodromanean
b13380d120
Merge pull request #14523 from franticpsyx/fix-wc-get-weight-notice-warning
...
[3.0.3] Fix PHP 7.1 `wc_get_weight` warning
2017-04-19 10:15:53 -07:00
Claudiu Lodromanean
fe0ff8d795
Merge pull request #14526 from woocommerce/fix/14517
...
wp_die when WC_REST_System_Status_Controller is. not available on status report.
2017-04-19 10:14:58 -07:00
Claudiu Lodromanean
28ec6b4d6f
Merge pull request #14527 from franticpsyx/fix-typo-in-wc-ajax-class
...
[3.0] Fix typo in json_search_downloadable_products_and_variations
2017-04-19 10:14:42 -07:00
Claudiu Lodromanean
cd9ea0daf2
Merge pull request #14528 from woocommerce/fix/14525
...
is_existing_sku should check all post statuses except for trash
2017-04-19 10:13:56 -07:00
Claudiu Lodromanean
b479224656
Merge pull request #14531 from mihaigrigori/master
...
Wrong variable name in \wc_add_order_item
2017-04-19 10:13:37 -07:00
Claudiu Lodromanean
894d77d4db
Merge pull request #14534 from woocommerce/fix/14533
...
Address field sorting was not working due to wrong data name
2017-04-19 10:12:56 -07:00
Claudiu Lodromanean
beab1fd0b8
Merge pull request #14535 from woocommerce/fix/item-get_order
...
Ensure order is not cached before download permissions are generated
2017-04-19 10:12:39 -07:00
Claudiu Lodromanean
97958de059
Merge pull request #14536 from woocommerce/fix/14530
...
When on backorder without notifications, hide the text
2017-04-19 10:12:20 -07:00
claudiulodro
c3331ff416
Remove unused variable
2017-04-19 10:00:00 -07:00
Mike Jolley
69a8b6c9b5
When on backorder without notifications, hide the text
...
Fixes #14530
2017-04-19 16:57:49 +01:00
Mike Jolley
e1ae5bded2
Ensure order is not cached before download permissions are generated
2017-04-19 16:53:31 +01:00
Mike Jolley
3b6e7d9d14
Address field sorting was not working due to wrong data name
...
Fixes #14533
2017-04-19 16:33:32 +01:00
Mike Jolley
be96e8c8a1
Merge pull request #14506 from woocommerce/fix/14496
...
Prevent nonce check outside admin when calculating for reports
2017-04-19 15:05:31 +01:00
Mike Jolley
84c9ce9ceb
Merge pull request #14505 from woocommerce/fix/14504
...
Fixed legacy WC_Checkout->posted warning.
2017-04-19 15:05:21 +01:00
Mike Jolley
77bbd938c6
Merge pull request #14508 from woocommerce/fix/14359
...
[REST API] Fixed ignored parameters when changing status
2017-04-19 15:05:09 +01:00
Mihai Grigori
170de188a0
Wrong variable name in \wc_add_order_item
2017-04-19 15:55:49 +03:00
Mike Jolley
bdb01c4bea
is_existing_sku should check all post statuses except for trash
...
Fixes #14525
2017-04-19 11:32:49 +01:00
Manos Psychogyiopoulos
1670f9ae60
Fix typo in json_search_downloadable_products_and_variations
2017-04-19 13:20:05 +03:00
Mike Jolley
8ab10ade0e
Missing comma for code standards
...
WC_Admin_Customize is a 3.1 class
Closes #14522
2017-04-19 11:15:10 +01:00
Mike Jolley
335319e6ea
wp_die when WC_REST_System_Status_Controller is. not available on status report.
...
Closes #14517
2017-04-19 11:08:34 +01:00
Manos Psychogyiopoulos
6392582d16
Fix wc_get_weight warning with PHP 7.1
2017-04-19 12:35:40 +03:00
Mike Jolley
5d7aa234b0
wc_update_300_grouped_products update routine needs to unset the post_parent on grouped products
...
Fixes #14507
2017-04-19 10:35:39 +01:00
Manos Psychogyiopoulos
1270c0d313
Fix Undefined property notice in WC_Order_Item::offsetGet
2017-04-19 12:30:38 +03:00
Claudio Sanches
f61646d1a2
Only return product by SKU if published
...
Fixes #14480
2017-04-18 21:32:52 -03:00
Claudio Sanches
f318ce935c
[REST API] Fixed ignored parameters when changing status
...
Prevent override saved data when updating order status.
Fixes #14359
2017-04-18 21:15:24 -03:00
Claudio Sanches
2da71bd7fb
Prevent nonce check outside admin when calculating for reports
...
Fix all REST API reports endpoints.
Fixes #14496
2017-04-18 20:33:25 -03:00
Claudio Sanches
d94f3883da
Merge pull request #14497 from woocommerce/fix/14416
...
Fixed docblocks in REST API v1
2017-04-18 18:43:06 -03:00
Claudio Sanches
58b7b82ee1
Merge pull request #14489 from woocommerce/fix/14469
...
Remove attribute_ prefix from names in wc_get_formatted_variation
2017-04-18 18:39:21 -03:00
Claudio Sanches
d17dd2947b
Merge pull request #14485 from woocommerce/update/js-cookie
...
Update js-cookie to 2.1.4
2017-04-18 18:38:56 -03:00
Claudio Sanches
185ae083a1
Merge pull request #14499 from woocommerce/help-video-updates
...
Updates & fixes some embed problems
2017-04-18 18:32:16 -03:00
Claudio Sanches
e034a69c98
Merge pull request #14486 from woocommerce/fix/14484
...
Fix call to is_compound method
2017-04-18 18:29:57 -03:00
Claudio Sanches
faaac6d67b
Merge pull request #14483 from woocommerce/fix/14476
...
Adds a fallback to queue_transactional_email if background sending is disabled.
2017-04-18 18:29:33 -03:00
Claudio Sanches
086b60a871
Fixed legacy WC_Checkout->posted warning.
...
WC_Checkout->get_posted_data() is a protected method and third party
integrations should use $_POST.
2017-04-18 18:15:25 -03:00
Claudio Sanches
372898d12f
Merge pull request #14502 from woocommerce/fix/refund-plotting
...
Add refund_lines to report
2017-04-18 18:11:31 -03:00
Mike Jolley
add7170f34
Fixes legacy_posted_data access and adds notices if accessed.
2017-04-18 21:55:31 +01:00
Mike Jolley
cd7d6cf73d
Add refund_lines
2017-04-18 20:29:10 +01:00
Mike Jolley
2a4103d776
Removed the non-functional order total input and combine the recalculation buttons into one working button.
...
Fixes #14494
2017-04-18 19:44:42 +01:00
Ryan Ray
40da9faa1a
Updates & fixes some embed problems
...
Added a new combined Creating Products video.
Fixes other time stamp embeds that weren’t really working.
2017-04-18 13:18:00 -04:00
Claudio Sanches
81dcd6e79e
Fixed docblocks in REST API v1 for #14416
2017-04-18 13:40:10 -03:00
Mike Jolley
c454abc787
Remove attribute_ prefix from names in wc_get_formatted_variation
...
Fixes #14469
2017-04-18 13:08:39 +01:00
Mike Jolley
de016c6615
Fix call to is_compound method
...
Fixes #14484
2017-04-18 12:00:21 +01:00
Mike Jolley
b8aade8523
Update js-cookie to 2.1.4
2017-04-18 11:44:51 +01:00
Mike Jolley
6259ee69e9
Adds a fallback to queue_transactional_email if background sending is disabled.
...
Fixes #14476
After turning off deferred emails by default it seems Subscriptions was
using the ‘default’ value in a filter to check if deferred emails were
enabled or not to hook in these methods.
https://github.com/woocommerce/woocommerce-subscriptions/blob/f87a11cdf0
9bb59aa66f4e86d37592f74193937f/includes/class-wc-subscriptions-email.php
#L339
@thenbrent
This code change adds a fallback so if this method was hooked in
anywhere, and the background emailer was not init or disabled, it will
fallback to regular send-now.
2017-04-18 11:35:37 +01:00
Mike Jolley
16345137e2
Merge pull request #14479 from emgk/fixed-14474
...
Fixed: get_term() returns objects not array.
2017-04-18 10:36:55 +01:00
Govind Kumar
200cd2de63
Fixed: get_term() returns objects not array.
2017-04-18 13:00:04 +05:30
claudiulodro
f21e47f7d0
Update save logic to allow filtering
2017-04-17 14:45:53 -07:00
Claudio Sanches
510630ea05
Merge pull request #14466 from bhubbard/schemal.org-to-https
...
Updated Schema URLs to use HTTPS
2017-04-17 14:19:34 -03:00
Claudio Sanches
523cd5a0b5
Merge pull request #14443 from woocommerce/fix/14429
...
wp_insert_term can return an error so handle appropriately in class-wc-product-attribute.php
2017-04-17 13:14:11 -03:00
Claudio Sanches
04f61c73dc
Merge pull request #14447 from woocommerce/fix/14362
...
Make wc_add_order_item pass correct values to woocommerce_new_order_item
2017-04-17 12:54:40 -03:00
Claudio Sanches
5fd29ce0f1
Merge pull request #14449 from woocommerce/add/item-meta-filter
...
Add woocommerce_order_item_get_formatted_meta_data filter
2017-04-17 12:53:53 -03:00
Brandon Hubbard
fe81c3d74b
Updated Schema URLs to use HTTPS
2017-04-17 12:35:21 -03:00
Mike Jolley
2071e8efee
Added has_shipping_address helper method
...
#14364
2017-04-17 15:15:08 +01:00
Mike Jolley
15fb5fb5ce
Add woocommerce_order_item_get_formatted_meta_data filter
...
2.6 had woocommerce_order_items_meta_display. 3.0 has no filter to
remove meta from display.
Closes #14372
2017-04-17 13:00:05 +01:00
Mike Jolley
887cb8b62c
Make wc_add_order_item pass correct values to woocommerce_new_order_item
...
Fixes #14362
2017-04-17 12:50:27 +01:00
Mike Jolley
4fcada6fe9
wp_insert_term can return an error so handle appropriately in class-wc-product-attribute.php
...
Fixes #14429
2017-04-17 12:05:36 +01:00
Mike Jolley
71929666ac
Merge pull request #14404 from thenbrent/fix_get_meta_returning_deleted_values
...
Don't return deleted meta in get_meta_data()
2017-04-17 11:38:12 +01:00
Mike Jolley
d11337706e
Merge pull request #14401 from woocommerce/fix/14389
...
Use read_downloads in variations
2017-04-17 11:20:14 +01:00
Mike Jolley
9187f3cbb3
Merge pull request #14436 from woocommerce/fix/14398
...
Fixes the shipping address map URL
2017-04-17 11:12:19 +01:00
Matt Cohen
4aba3d16b0
Adjusts the filter to apply after removing the undesired elements, instead of before. #14398
2017-04-17 12:05:29 +02:00
Matt Cohen
dc37646273
Removes the first name, last name, and company from the shipping address map URL. Fixes #14398
2017-04-17 11:15:30 +02:00
rafsuntaskin
6334e95576
UAE state field set to not required, resolves #14409
2017-04-16 14:55:13 +06:00
Mike Jolley
d4a8f3c25b
fix coupon update
2017-04-15 21:48:22 +01:00
Mike Jolley
1f28b9d0b8
Other object types
2017-04-15 21:18:24 +01:00
Mike Jolley
27c9006f77
Product data store loop protection
2017-04-15 21:04:41 +01:00
Mike Jolley
5a7dd4938d
Merge pull request #14390 from bekarice/fix-php71-notices
...
Fix PHP 7.1 warnings when manually adding order items
2017-04-15 18:02:03 +01:00
Beka Rice
d35621f166
Cast unmodified tax as float as well
2017-04-15 12:01:37 -04:00
claudiulodro
96ed33f227
Use read_downloads in variations
2017-04-14 14:18:08 -07:00
Brent Shepherd
0e40d2c764
Don't return deleted meta
...
By using $this->get_meta_data() which passed meta through the
WC_Data::filter_null_meta() method, rather than $this->meta_data
which still has null values set.
2017-04-14 13:58:00 -07:00
Claudiu Lodromanean
f7c166ca22
Merge pull request #14368 from mdrahul/Fix-14366
...
Reset ratings count when product is duplicated, ref #14366
2017-04-14 11:40:00 -07:00
Beka Rice
9de8589c9c
Fix PHP 7.1 warnings when manually adding order items
2017-04-14 11:12:53 -04:00
Mike Jolley
d695a141ed
Variations were not correctly inheriting the parent image or shipping class id
2017-04-14 13:32:14 +01:00
mdrahul
b4ca263a4f
Reset ratings count when product is duplicated, ref #14366
2017-04-14 11:37:15 +05:30
Claudio Sanches
b5090ad629
Merge pull request #14356 from woocommerce/fix/variation-get_attribute
...
Made the get_attribute method work on variation objects
2017-04-13 13:19:26 -03:00
Mike Jolley
a1390125a0
Made the get_attribute method work on variation objects
...
Fixes #14345
2017-04-13 17:16:46 +01:00
Claudio Sanches
75ecc91d96
Merge pull request #14308 from woocommerce/add/14304
...
Add backtrace to deprecated message
2017-04-13 12:49:01 -03:00
Claudio Sanches
2879b6ec75
Merge pull request #14353 from woocommerce/fix/itemreviewed-data
...
Restores itemReviewed structured data for product reviews
2017-04-13 12:37:47 -03:00
Claudio Sanches
a0822e6d1f
Merge pull request #14352 from woocommerce/fix/grouped-sale-badge
...
Grouped sale badge fix
2017-04-13 12:36:20 -03:00
Mike Jolley
7bdf8302ec
Restores itemReviewed structured data for product reviews
2017-04-13 16:30:06 +01:00
Claudio Sanches
ef8136b135
Merge pull request #14344 from woocommerce/remove/defer-email-default
...
Set default email sending method to not defer
2017-04-13 12:29:34 -03:00
Claudio Sanches
5d5fc57f40
Merge pull request #14342 from woocommerce/fix/14332
...
Use refund date not order date in refund display
2017-04-13 12:25:08 -03:00
Claudio Sanches
f33127b239
Merge pull request #14341 from woocommerce/fix/14333
...
When checking if the update notice should be shown, compare minor version, not the patch version
2017-04-13 12:24:14 -03:00
Mike Jolley
0e67202ab1
Grouped sale badge fix
...
Closes #14348
2017-04-13 16:13:48 +01:00
Mike Jolley
77d93a70e0
Set woocommerce_defer_transactional_emails to false by default
2017-04-13 14:22:33 +01:00
Mike Jolley
180f5cd40b
send_transactional_email try catch block
2017-04-13 14:22:07 +01:00
Mike Jolley
34227d826f
Add backtrace to wc_doing_it_wrong
2017-04-13 14:01:58 +01:00
Mike Jolley
4870506a65
Revert "Add backtrace to deprecated message"
...
This reverts commit 3e9f74d038
.
2017-04-13 13:34:19 +01:00
Mike Jolley
41f7a637cd
Use refund date not order date in refund display
...
Fixes #14332
2017-04-13 13:24:48 +01:00
Mike Jolley
412ddeacda
When checking if the update notice should be shown, compare minor version, not the patch version
...
Fixes #14333
2017-04-13 13:15:49 +01:00
Mike Jolley
8268fc01ad
Make sure filters apply on parent_data
...
Closes #14321
2017-04-13 12:48:21 +01:00
Mike Jolley
01a4f9432f
get_tax_class should handle both parent data and unfiltered context to get the tax class before plugin modification.
2017-04-13 12:39:19 +01:00
Mike Jolley
f9dd3310b2
Unfiltered context rather than true
2017-04-13 12:38:54 +01:00
Tim Elsass
02de1cc60b
Fixing grammar error in msg fixes #14319
2017-04-12 17:03:39 -04:00