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
Claudio Sanches
078b23a3c2
Revert "Apply distinct to term id only"
2017-04-12 15:54:48 -03:00
Claudio Sanches
ad5dad52a2
Merge pull request #14309 from woocommerce/fix/stock-notification-settings
...
woocommerce_notify_low_stock and woocommerce_notify_no_stock were not hooked up
2017-04-12 14:46:33 -03:00
Mike Jolley
85a67151ff
woocommerce_notify_low_stock and woocommerce_notify_no_stock were not hooked up
2017-04-12 18:01:59 +01:00
Mike Jolley
3e9f74d038
Add backtrace to deprecated message
2017-04-12 17:37:59 +01:00
Claudio Sanches
c0619f99cd
Merge pull request #14306 from woocommerce/fix/file-validation
...
Only validate file type on relative paths
2017-04-12 12:51:48 -03:00
Mike Jolley
de7d8681d2
Only validate file type on relative paths
2017-04-12 16:49:43 +01:00
Claudio Sanches
8151eb1320
Merge pull request #14291 from woocommerce/fix/dupe-cats
...
Apply distinct to term id only
2017-04-12 12:18:34 -03:00
Claudio Sanches
582999c6c5
Merge pull request #14297 from woocommerce/fix/wc_customer_has_capability
...
Add $order checks to ensure object is set
2017-04-12 12:09:44 -03:00
Claudio Sanches
c5ee1aa00e
Merge pull request #14298 from woocommerce/fix/read_downloads
...
Ensure name and file is set
2017-04-12 12:09:05 -03:00
Mike Jolley
21da0cf71f
Ensure name and file is set
2017-04-12 14:11:04 +01:00
Mike Jolley
b258e64902
Add $order checks to ensure object is set
2017-04-12 13:46:14 +01:00
Mike Jolley
0628a91cfc
Apply distinct to term id only
2017-04-12 11:38:59 +01:00
Claudio Sanches
307a42b37e
Merge pull request #14279 from woocommerce/fix/14276
...
Fix shipping item name update
2017-04-11 18:36:15 -03:00
Mike Jolley
692eceb4cd
Fix shipping item name update
...
Fixes #14276
2017-04-11 21:38:50 +01:00
Claudio Sanches
e7acb2918c
Merge pull request #14250 from woocommerce/fix/14231
...
Update notice wording links and styling
2017-04-11 17:34:15 -03:00
Claudio Sanches
b122681700
Merge pull request #14268 from woocommerce/fix/background-mails
...
Works around some cookie hosting issues, and updates the queue more frequently in case of error during email send.
2017-04-11 17:31:49 -03:00
Claudio Sanches
4133f77a31
Merge pull request #14242 from dixitadusara/issue-14227
...
Incorrect sale dates set when bulk editing variations ref #14227
2017-04-11 17:26:58 -03:00
Claudio Sanches
627d7a8790
Merge pull request #14278 from woocommerce/fix/14209-alt
...
Variation Attribute Name Fixes (simplified)
2017-04-11 17:25:28 -03:00
Claudio Sanches
a1478442d8
Merge pull request #14274 from woocommerce/fix/14239
...
Ensure object exists
2017-04-11 17:13:55 -03:00
Mike Jolley
5cfed7569c
Simplify wc_is_attribute_in_product_name and change separator
2017-04-11 21:12:30 +01:00
Claudio Sanches
610bd3c4db
Merge pull request #14272 from woocommerce/fix/14266
...
GP, GF, KW, LB, MQ, RE and YT does not have states
2017-04-11 17:05:13 -03:00
Claudio Sanches
0df920ebde
Merge pull request #14273 from woocommerce/fix/14162
...
Return if there is no product in woocommerce_upsell_display
2017-04-11 17:03:46 -03:00
Claudio Sanches
3278d9e5d7
Merge pull request #14255 from woocommerce/fix/14163
...
Download permissions; Convert dates to timestamp on read so UTC is preserved.
2017-04-11 16:51:20 -03:00
Claudio Sanches
e027e5b0a1
Merge pull request #14228 from woocommerce/fix/14135
...
Fix shortcodes formatted with <p> and improved wc_format_content()
2017-04-11 16:14:18 -03:00
Mike Jolley
f0f1efcffd
Ensure object exists
...
fixes #14239
2017-04-11 19:29:20 +01:00
Mike Jolley
a7e22e3749
Return if there is no product in woocommerce_upsell_display
...
Fixes #14162
2017-04-11 19:21:13 +01:00
Mike Jolley
f5fdd59209
More states
...
Fixes #14270
2017-04-11 19:10:01 +01:00
Mike Jolley
6ad0f1755d
KW does not have states
...
Fixes #14266
2017-04-11 19:02:23 +01:00
Mike Jolley
7f820c2526
Break if batch is empty
...
Fixes #14261
2017-04-11 18:59:58 +01:00
Claudio Sanches
6ccdacb0fd
Merge pull request #14271 from woocommerce/fix/14259
...
Apply query_arg filter before generating transient name in product_loop
2017-04-11 14:52:26 -03:00
Claudio Sanches
765179b4da
Merge pull request #14253 from woocommerce/add/date-format-filter
...
woocommerce_admin_order_date_format filter to replace old post_date_column_time
2017-04-11 14:48:35 -03:00
Mike Jolley
cb668d42e0
Apply query_arg filter before generating transient name in product_loop
...
Fixes #14259
2017-04-11 18:47:05 +01:00
Claudio Sanches
4e9febc829
Merge pull request #14269 from woocommerce/fix/14263
...
Correct variable name
2017-04-11 14:45:25 -03:00
Mike Jolley
9757d2a0ce
Correct variable name
...
Fixes #14263
2017-04-11 18:29:55 +01:00
Mike Jolley
63cd7c25d0
Works around some cookie hosting issues, and updates the queue more frequently in case of error during email send.
2017-04-11 18:23:45 +01:00
Mike Jolley
510adc652c
Download permissions; Convert dates to timestamp on read so UTC is preserved.
...
Fixes #14163
2017-04-11 13:13:03 +01:00
Mike Jolley
899176bee7
woocommerce_update_customer_args filter
2017-04-11 12:47:53 +01:00
Mike Jolley
2f9a9589df
woocommerce_admin_order_date_format filter to replace old post_date_column_time
2017-04-11 12:41:30 +01:00
Mike Jolley
2eb9405caa
Fix notice styling
2017-04-11 11:40:42 +01:00
Mike Jolley
d81493cc52
Merge pull request #14229 from woocommerce/fix/14184
...
[REST API] Fixed line_items meta type to array on legacy REST API
2017-04-11 10:32:17 +01:00
dixitadusara
1bf13e2b8b
Incorrect sale dates set when bulk editing variations ref #14227
2017-04-11 13:04:39 +05:30
Claudio Sanches
6b12559b76
Merge pull request #14164 from RamyTalal/patch-1
...
Fix notice errors on PHP 7.1
2017-04-11 02:20:27 -03:00
Ramy Talal
36de5db080
Coding standards
2017-04-11 07:19:24 +02:00
Claudio Sanches
4a5a93f629
Merge pull request #14107 from woocommerce/fix/rest-api-legacy-v3-variations
...
[REST API] Fixed missing $variations variable in legacy v3
2017-04-10 20:19:43 -03:00
Claudio Sanches
5c92f9141b
[REST API] Fixed line_items meta type to array on legacy REST API
...
Closes #14184
2017-04-10 19:57:35 -03:00
Claudio Sanches
5eab267ec1
Fixed shortcodes formatted with <p> and improved wc_format_content()
...
This fix the shortcode issue, stop extra sanitization and allow use
smilies, attachments, embeds and Jetpack markdown.
Closes #14135
2017-04-10 19:21:22 -03:00
Claudio Sanches
702d72f173
Merge pull request #14225 from woocommerce/fix/14213
...
Use correct thumbnail for variation images in gallery
2017-04-10 19:13:09 -03:00
Mike Jolley
7274c14591
Use correct thumbnail for variation images in gallery
...
Fixes #14213
2017-04-10 23:02:53 +01:00
Claudio Sanches
394532c9ab
Merge pull request #14199 from woocommerce/add/visibility-terms-debug-14147
...
Add product visibility terms to system status report to help debug
2017-04-10 18:52:10 -03:00
Claudio Sanches
8bd7e2de4a
Merge pull request #14188 from woocommerce/fix/14186
...
Correct calls to wc_reduce_stock_levels in PayPal and Simplify gateways
2017-04-10 18:50:51 -03:00
Claudio Sanches
2acc956254
Merge pull request #14206 from woocommerce/fix/14118
...
__clone meta correctly on object clone
2017-04-10 18:49:49 -03:00
Claudio Sanches
47a6741707
Merge pull request #14221 from woocommerce/fix/14216
...
Do not duplicate grouped products, only variations
2017-04-10 18:49:28 -03:00
Claudio Sanches
0b7f990dae
Merge pull request #14219 from woocommerce/fix/14211
...
Fix backwards compat logic in enable_guest_checkout
2017-04-10 18:48:16 -03:00
Claudiu Lodromanean
715656921d
wc_is_attribute_in_product_name
2017-04-10 14:35:16 -07:00
Claudio Sanches
b79711b54c
Merge pull request #14141 from rellect/copy_suffix
...
Add back the (Copy) suffix for duplicated products
2017-04-10 18:16:09 -03:00
Mike Jolley
bcd39e9a79
Pass id not object to wc_reduce_stock_levels
2017-04-10 21:55:17 +01:00
Mike Jolley
76d962b606
since
2017-04-10 21:52:06 +01:00
Mike Jolley
ade147ccc2
Do not duplicate grouped products, only variations
...
Fixes #14216
2017-04-10 21:45:57 +01:00
Mike Jolley
3cf50c60f6
Fix backwards compat logic in enable_guest_checkout
...
Fixes #14211
2017-04-10 21:18:49 +01:00
Claudiu Lodromanean
903b176b99
Attribute title tweaks
2017-04-10 13:16:58 -07:00
Claudio Sanches
043265101f
Merge pull request #14142 from rellect/unset_set_on_duplicating
...
Reset slug when duplicating product - fix #14128
2017-04-10 16:28:50 -03:00
Mike Jolley
12dbc059c3
Update add_to_cart_text for external products to include default
...
Fixes #14181
2017-04-10 17:54:39 +01:00
Mike Jolley
e14d85d0a3
__clone meta correctly on object clone
...
Fixes #14118
2017-04-10 17:12:17 +01:00
Claudio Sanches
e6d68c7897
Merge pull request #14198 from woocommerce/fix/14158
...
Make get_cross_sells unique.
2017-04-10 12:55:25 -03:00
Mike Jolley
7d5efe4b78
Add product visibility terms to system status report to help debug
...
Closes #14147
2017-04-10 15:51:14 +01:00
Mike Jolley
95397188d5
Make get_cross_sells unique.
...
Fixes #14158
2017-04-10 15:20:41 +01:00
Mike Jolley
243b7a0d3f
Exclude location meta from setters
2017-04-10 12:16:25 +01:00
Mike Jolley
8fa73602eb
Correct calls to wc_reduce_stock_levels in PayPal and Simplify gateways
...
Fixes #14186
2017-04-10 11:56:52 +01:00
Ramy Talal
6b29066d3e
Fix notice errors on PHP 7.1
2017-04-09 13:45:46 +02:00
refael iliaguyev
6ee1fb0a62
set empty string as slug
2017-04-08 18:14:34 +03:00
refael iliaguyev
5add77c201
add 'woocommerce' text domain
2017-04-08 15:59:01 +03:00
refael iliaguyev
3be5f80ee7
unset slug - fix #14128
2017-04-08 13:39:06 +03:00
refael iliaguyev
3af7452370
Add back the (Copy) suffix for duplicated products
2017-04-08 13:16:42 +03:00
Govind Kumar
2ea79cc5ed
Fixed issue #14124
2017-04-07 19:14:10 +05:30
Claudio Sanches
708df27719
Merge pull request #14117 from woocommerce/fix/14108
...
If variation tax class meta is not set, it should be 'parent' to support 2.6 data
2017-04-07 13:29:40 -03:00
Mike Jolley
7418b9f8b8
If variation tax class meta is not set, it should be 'parent' to support 2.6 data
...
Fixes #14108
2017-04-07 17:13:59 +01:00
Claudio Sanches
51c00cce09
Merge pull request #14099 from dixitadusara/issue-14089B
...
Modified suggestion of Invalid argument supplied for foreach ref #14089
2017-04-07 12:33:01 -03:00
Claudio Sanches
ef6895fd56
Merge pull request #14113 from woocommerce/fix/product-object-checks
...
Fix/product object checks
2017-04-07 12:31:28 -03:00
Mike Jolley
e14eb70814
Skip reports if no product is found
2017-04-07 16:08:06 +01:00
Mike Jolley
84c96046f0
Check objects are not false/null
2017-04-07 16:01:51 +01:00
Claudio Sanches
8de0bb0a46
[REST API] Fixed missing $variations variable in legacy v3
2017-04-07 10:31:28 -03:00
Claudio Sanches
731c9cfdd9
Merge pull request #14097 from woocommerce/fix/14085
...
Ensure meta_value has valid keys in read_attributes
2017-04-07 09:19:25 -03:00
Claudio Sanches
c42505f7e5
Merge pull request #14096 from woocommerce/fix/14087
...
Add missing woocommerce_cross_sells_columns filter.
2017-04-07 09:18:54 -03:00
Mike Jolley
4f412678bd
Ensure meta_value has valid keys in read_attributes
...
Fixes #14085
2017-04-07 10:59:59 +01:00
dixitadusara
e527b6608c
modified suggestion of Invalid argument supplied for foreach ref #14089
2017-04-07 15:27:52 +05:30
Mike Jolley
078dfb4ffa
Add missing woocommerce_cross_sells_columns filter.
...
Closes #14087
2017-04-07 10:35:42 +01:00
Gareth
425752d8ff
Updates product title in product loop commenting
...
Commenting indicated the product title in the product loop was enclosed in an `<h3>`, when the code was actually printing an `<h2>`.
2017-04-07 09:55:48 +02:00
dixitadusara
3ba9063d3d
Invalid argument supplied for foreach - class-wc-product-data-store-cpt.php ref #14089
2017-04-07 13:24:34 +05:30
Claudio Sanches
464ea7f01d
Fixed ccoding standards
2017-04-06 19:46:06 -03:00
Claudio Sanches
c4adec3e1a
Removed translatable function used for variables
2017-04-06 19:45:59 -03:00
Claudiu Lodromanean
19361127a9
Array filter before saving
2017-04-06 14:47:22 -07:00
Claudio Sanches
7f18e9ef83
Merge pull request #14076 from woocommerce/fix/remove-empty-items
...
filter items which are false
2017-04-06 18:21:14 -03:00
Claudio Sanches
c2830af5e1
Merge pull request #14071 from woocommerce/fix/14068
...
Fix variation category restriction and limit to x uses
2017-04-06 18:15:45 -03:00
Mike Jolley
fbcb46b273
filter items which are false
...
https://wordpress.org/support/topic/call-to-a-member-function-is_type-cl
ass-wc-order-php-on-line-1305/
2017-04-06 22:15:42 +01:00
Claudio Sanches
56b8a4661a
Merge pull request #14074 from woocommerce/fix/14067
...
Fixed sanitization of order items meta data
2017-04-06 18:14:34 -03:00
Claudio Sanches
ee76842edb
Merge pull request #14075 from woocommerce/fix/14072
...
Remove date on dupe
2017-04-06 18:13:26 -03:00
Mike Jolley
c1b670eaa6
Remove date on dupe
2017-04-06 22:11:00 +01:00
Claudio Sanches
af7f271de1
Fixed sanitization of order items meta data
...
Closes #14067
2017-04-06 17:58:24 -03:00
Mike Jolley
1b5cad3d78
Fix variation category restriction and limit to x uses
...
Fixes #14068
2017-04-06 21:51:11 +01:00
Claudiu Lodromanean
94814a0b03
Dont throw exceptions when reading
2017-04-06 13:39:36 -07:00
rafsuntaskin
ac5de585e5
added bulk variation update for stock status, resolves #14046
2017-04-07 02:11:04 +06:00
Mike Jolley
d8bc209cab
read_product_data does not exist
2017-04-06 20:55:51 +01:00
Claudio Sanches
14572c8d80
Merge pull request #13991 from woocommerce/fix/13928
...
When setting props, exclude deprecated ones
2017-04-06 16:20:34 -03:00
Mike Jolley
2877752e1f
array_flip
2017-04-06 20:18:14 +01:00
Claudio Sanches
0529e4efab
Merge pull request #14026 from woocommerce/fix/13978
...
Fix variable stock syncing
2017-04-06 16:06:26 -03:00
Mike Jolley
8f2287be12
Use get_children for comparison
2017-04-06 19:47:22 +01:00
Mike Jolley
5701b1f7e2
Get cross sells from parent
...
fixes #14054
2017-04-06 19:01:57 +01:00
Claudio Sanches
abc48f1601
Correct class version and author
2017-04-06 14:47:56 -03:00
Claudio Sanches
fa40e7b205
Merge pull request #14035 from woocommerce/fix/13963
...
Background Emailer instead of just CRON
2017-04-06 14:47:15 -03:00
Claudio Sanches
2ff763a976
Merge pull request #14042 from franticpsyx/order-again-meta-std-class-props
...
[3.0] Fix non-existing stdClass props in WC_Form_Handler::order_again
2017-04-06 14:42:14 -03:00
Claudio Sanches
5ca593f782
Merge pull request #14048 from woocommerce/fix/13949
...
Fix variation description formatting in frontend and REST API v2
2017-04-06 14:42:01 -03:00
Claudio Sanches
b16d3a091c
Merge pull request #14049 from woocommerce/fix/variation-description-sanitization
...
Removed extra variation description extra sanitization
2017-04-06 14:41:41 -03:00
Claudio Sanches
42ca7bda3d
Merge pull request #13989 from woocommerce/fix/product-meta-save_post
...
Fix saving meta when using `save_post`.
2017-04-06 14:38:16 -03:00
Claudio Sanches
cdab73af3c
Merge pull request #14051 from woocommerce/fix/no-base-permalinks
...
Make sure there is a name, otherwise the taxonomy + base will conflict with other post types if empty
2017-04-06 14:29:45 -03:00
Claudio Sanches
5f9a215318
Merge pull request #14052 from woocommerce/fix/variation-tax-status
...
Pull tax status from parent since there is no UI to set at variation level
2017-04-06 14:29:28 -03:00
Mike Jolley
0348a4751e
Use placeholder value from backend if not set
2017-04-06 18:19:07 +01:00
Mike Jolley
fd3e656912
Pull tax status from parent since there is no UI to set at variation level
2017-04-06 17:54:34 +01:00
Mike Jolley
56eb3c4da3
Make sure there is a name, otherwise the taxonomy + base will conflict with other post types if empty
2017-04-06 17:50:04 +01:00
Claudio Sanches
4032167f6c
Removed extra variation description extra sanitization
2017-04-06 13:21:34 -03:00
Claudio Sanches
fc9ba64e50
Properly format variation description in REST API v2
2017-04-06 13:02:51 -03:00
Claudio Sanches
f3c2e6c5f6
Improved wc_format_content() formatting and added sanitization
2017-04-06 13:01:35 -03:00
Claudio Sanches
567a551d83
Fixed shortcode render for variations and backwards compatibility
...
Fixes #13949
2017-04-06 13:00:02 -03:00
Claudio Sanches
b059851882
Merge pull request #14001 from woocommerce/fix/13980
...
Allow search customers by ID in admin customer ajax search
2017-04-06 12:01:39 -03:00
Claudio Sanches
3fff61ea4e
Merge pull request #14043 from woocommerce/fix/missing-product-type-field
...
if product type field is not posted, we should maintain existing type, not change to simple
2017-04-06 11:58:55 -03:00
Mike Jolley
82cdf65c04
if product type field is not posted, we should maintain existing type, not change to simple
2017-04-06 15:56:55 +01:00
Manos Psychogyiopoulos
e18d9741a4
Fix non-existing stdClass props
2017-04-06 17:42:51 +03:00
Claudio Sanches
f3156fb5f4
Merge pull request #13981 from woocommerce/fix/13936
...
[REST API] Fixed attributes while trying to save variations
2017-04-06 11:38:23 -03:00
Claudio Sanches
83135c24c1
Merge pull request #13971 from woocommerce/fix/13966
...
Ensure gateways are loaded in emails
2017-04-06 11:38:09 -03:00
Claudio Sanches
966fd0e411
Merge pull request #14037 from woocommerce/fix/legacy-sync
...
Only call sync if callable
2017-04-06 10:54:58 -03:00
Claudio Sanches
6c1a38d637
Merge pull request #13975 from woocommerce/fix/13943
...
Compare to the order item title instead of variation title
2017-04-06 10:36:36 -03:00
Claudio Sanches
550f7b4028
Merge pull request #13986 from woocommerce/fix/13954
...
Fixed "singular" and "plural" parameters of WP_List_Table instances
2017-04-06 10:33:43 -03:00
Claudio Sanches
9a219b71da
Merge pull request #14036 from woocommerce/fix/14032
...
Make sure we have a prefix for strstr
2017-04-06 10:25:46 -03:00
Mike Jolley
261ae0ebda
Only call sync if callable
2017-04-06 14:18:17 +01:00
Claudio Sanches
03004bdd49
Merge pull request #14009 from woocommerce/fix/14006
...
When forcing shipping to billing, set the shipping fields in the order itself
2017-04-06 10:17:54 -03:00
Claudio Sanches
01c425398c
Merge pull request #14012 from woocommerce/fix/13930-alt
...
Hide structured data in hidden element
2017-04-06 10:14:30 -03:00
Claudio Sanches
f2b90d6163
Merge pull request #14014 from woocommerce/fix/13906
...
Set session data only if the value is empty in customer object. Prevents session data overwriting customer data on login.
2017-04-06 10:12:54 -03:00
Claudio Sanches
03e05cab1c
Merge pull request #14017 from woocommerce/fix/14008
...
Allow variation image to be unset
2017-04-06 10:12:12 -03:00
Mike Jolley
822412d03c
Make sure we have a prefix for strstr
...
Closes #14032
2017-04-06 14:11:00 +01:00
Claudio Sanches
ddf188a61e
Merge pull request #14018 from woocommerce/fix/13968
...
Show a sale price on variable products if on sale and all prices are the same
2017-04-06 10:10:49 -03:00
Mike Jolley
288026ca9f
Background Emailer instead of just CRON
2017-04-06 13:46:07 +01:00
Mike Jolley
bf09c7df82
Ensure reg prices are the same
2017-04-06 13:08:18 +01:00
Mike Jolley
36e9b73ef3
Make sure we have a product before generating JSON
2017-04-06 12:40:53 +01:00
Mike Jolley
a7a896008c
Fix up the child_is_in_stock function
2017-04-06 12:26:19 +01:00
Mike Jolley
7e90a318cd
On variable save, sync with children and avoid transient cache
2017-04-06 12:26:10 +01:00
Mike Jolley
47411f7397
wc_deferred_product_sync queue function
2017-04-06 12:25:54 +01:00
Mike Jolley
fe42b2565c
Defer variation parent sync to shutdown rather than cron
2017-04-06 12:25:34 +01:00
Mike Jolley
93689a8107
Show a sale price on variable products if on sale and all prices are the same
...
Fixes #13968
2017-04-06 11:01:20 +01:00
Mike Jolley
eea6867ac9
Allow variation image to be unset
...
@claudiosanches is this correct way?
Fixes #14008
2017-04-06 10:41:09 +01:00
Mike Jolley
d570a81241
Set session data only if the value is empty in customer object. Prevents session data overwriting customer data on login.
...
Fixes #13906
2017-04-06 10:28:32 +01:00
Mike Jolley
52939e800c
Hide structured data in hidden element
2017-04-06 10:06:21 +01:00
Mike Jolley
8614a7922d
When forcing shipping to billing, set the shipping fields in the order itself
...
Fixes #14006
2017-04-06 09:50:34 +01:00
Claudio Sanches
2ffb2e8853
Allow search customers by ID in admin customer ajax search
...
Closes #13980
2017-04-06 02:19:12 -03:00
Gregory Karpinsky
37c7e2a615
Docblock fix
...
`get_availability` returns array of strings
2017-04-06 00:32:36 -04:00
Claudio Sanches
168a4a3096
Merge pull request #13909 from woocommerce/fix/prevent-only-color-picker-to-flip
...
Prevent RTL flip only color picker inputs
2017-04-05 21:21:38 -03:00
Claudio Sanches
4bb2c070ae
Merge pull request #13900 from woocommerce/fix/rest-api-remove-extra-taxes-params
...
[REST API] Removed extra taxes params.
2017-04-05 21:18:09 -03:00
Claudio Sanches
4b2481f9f2
Merge pull request #13994 from woocommerce/fix/cross-sell-columns
...
Cross sells were not showing first last classes since columns (2) was not being set
2017-04-05 20:33:31 -03:00
Claudio Sanches
b3937bcc4d
Merge pull request #13995 from woocommerce/fix/13902
...
Hash querystring is v not version. Stops infinite loop.
2017-04-05 20:33:00 -03:00
Mike Jolley
8333d75703
Hash querystring is v not version. Stops infinite loop.
...
Fixes #13902
2017-04-05 23:42:33 +01:00
Mike Jolley
e16119f687
Cross sells were not showing first last classes since columns (2) was not being set
2017-04-05 23:28:13 +01:00
Mike Jolley
70778abade
When setting props, exclude deprecated ones
...
Fixes #13928
2017-04-05 23:16:45 +01:00
Justin Shreve
15bf1da7d5
Call save_meta_data before wp_update_post for data stores that use it, and refresh meta cache after.
2017-04-05 14:39:41 -07:00
Claudio Sanches
5bcace31fc
Fixed "singular" and "plural" parameters of WP_List_Table instances
...
Both should be slugs and not translatable.
Fixes #13954
2017-04-05 18:15:40 -03:00
Claudiu Lodromanean
c02cee595e
Add missing download_id param
2017-04-05 13:37:42 -07:00
Claudio Sanches
87199d0627
[REST API] Fixed attributes while trying to save variations
...
Closes #13936
2017-04-05 17:03:05 -03:00
Mike Jolley
359213d720
Fix direction
2017-04-05 20:25:21 +01:00
Mike Jolley
0035afc5a0
Make sure we have number > 0 so all variations are not deleted
2017-04-05 20:22:05 +01:00
Mike Jolley
a6080aa4a9
Pass ID, not the product object
2017-04-05 20:21:33 +01:00
Claudiu Lodromanean
523d39578a
Compare to the order item title instead of variation title
2017-04-05 12:03:18 -07:00
Claudio Sanches
e2881d5af1
Ensure gateways are loaded in emails
...
Fix missing bank details in emails
closes #13966
2017-04-05 15:50:40 -03:00
Claudio Sanches
f250cac8d1
Merge pull request #13967 from woocommerce/fix/13933
...
Use parent settings for determining if variations are sold individually.
2017-04-05 15:33:17 -03:00
Claudiu Lodromanean
5389844a1b
Use parent data for sold_individually
2017-04-05 11:02:26 -07:00
Mike Jolley
27b35c0515
Using WPDB is quicker than wp_update_post
2017-04-05 18:40:59 +01:00
Claudio Sanches
6135aa8175
Merge pull request #13927 from woocommerce/fix/13921
...
Fallback to home URL if no shop page is set for system status security check.
2017-04-05 14:29:16 -03:00
Claudio Sanches
67274e8c2c
Make sure that ID exists
2017-04-05 14:23:50 -03:00
Claudio Sanches
7a34e4a176
Merge pull request #13959 from woocommerce/fix/customer-set-defaults
...
Wrap in try catch so WC_Data_Exceptions are caught on bad email.
2017-04-05 14:20:56 -03:00
Claudio Sanches
1590ba135b
Merge pull request #13961 from woocommerce/fix/system-status-hook
...
Add back removed filter for system status rows.
2017-04-05 14:11:40 -03:00
Claudiu Lodromanean
f4a04c088b
Merge pull request #13958 from woocommerce/fix/remove-legacy-clear
...
Removed extra clear parameter from addresses
2017-04-05 09:41:08 -07:00
Claudiu Lodromanean
87b71b0653
Merge pull request #13941 from woocommerce/fix/hook-deprecated-function-calls
...
Use wc_deprecated_function so notices are not triggered on ajax requests
2017-04-05 09:36:01 -07:00
Claudiu Lodromanean
691441f87f
Merge pull request #13935 from woocommerce/fix/13920
...
wc_get_object_terms should check it's not an error object
2017-04-05 09:30:02 -07:00
Claudiu Lodromanean
e1b9165439
Merge pull request #13931 from woocommerce/fix/register-admin-settings
...
If The $object is not really an object, don't continue. It's invalid.
2017-04-05 09:24:37 -07:00
Justin Shreve
6b6f48e7dc
Prior to 3.0 there was a woocommerce_debug_posting filter that could be used to add rows to the environment section of the system status page. It was removed. This PR adds it back as woocommerce_system_status_environment_rows and aliases/deprecates the old one.
2017-04-05 09:13:20 -07:00
Mike Jolley
ab4c921bd1
Wrap in try catch so WC_Data_Exceptions are caught on bad email.
2017-04-05 16:36:28 +01:00
Claudio Sanches
5a7af35d46
Removed extra clear parameter from addresses
2017-04-05 11:57:39 -03:00
Claudio Sanches
f1df9e8dd9
Merge pull request #13955 from psiico/patch-1
...
Update class-wc-coupon.php
2017-04-05 11:52:23 -03:00
Claudio Sanches
2e7393d156
Merge pull request #13899 from woocommerce/fix/missing-array-declaration
...
Fixed missing array declaration
2017-04-05 11:49:10 -03:00
Ivo Santos
b7dfc10dee
Update class-wc-coupon.php
...
Updated get_amount() method description.
2017-04-05 16:32:02 +02:00
Mike Jolley
e66efc1dcc
Use wc_deprecated_function so notices are not triggered on ajax requests
2017-04-05 13:06:43 +01:00
Mike Jolley
4ad05dfa83
wc_get_object_terms should check it's not an error object
...
Fixes #13920
2017-04-05 12:06:37 +01:00
Mike Jolley
5770fb132e
If The $object is not really an object, don't continue. It's invalid.
2017-04-05 11:10:27 +01:00
Mike Jolley
811d59feec
Fallback to home URL if no shop page is set for system status security check.
...
Fixes #13921
2017-04-05 10:03:41 +01:00
Claudio Sanches
3920a12d71
Prevent RTL flip only color picker inputs
...
Fixes #13723
2017-04-04 17:27:11 -03:00
Mike Jolley
b251973a66
Don't filter hidden grouped products
...
Fixes #13903
2017-04-04 20:33:36 +01:00
Claudio Sanches
c88941a424
Removed extra taxes params.
...
Search, include and exclude are not handled by the REST API.
2017-04-04 14:54:01 -03:00
Claudio Sanches
cf954fac1e
Fixed missing array declaration
2017-04-04 14:53:05 -03:00
Claudio Sanches
d881bf0500
Coding standards and changelog for #13867
2017-04-04 11:40:02 -03:00
Claudio Sanches
faf0104b49
Merge pull request #13260 from JeroenSormani/product-data-tab-priority
...
Add 'priority' support to product data tabs
2017-04-04 11:33:48 -03:00
Claudio Sanches
620a92d6fd
Merge pull request #13867 from woocommerce/fix/13788
...
Updated Emogrifier to 1.2.0
2017-04-04 11:30:47 -03:00
Claudio Sanches
ca23ea9ef2
Merge pull request #13815 from woocommerce/fix-13813-1
...
Include WooCommerce endpoints to customize nav menu setting
2017-04-04 11:03:26 -03:00
Mike Jolley
b2e4052e3b
Stock qty should be wrapped in wc_stock_amount
2017-04-04 13:35:31 +01:00
Mike Jolley
d917856378
Validate status if object_read
...
#13891
2017-04-04 12:39:35 +01:00
Mike Jolley
505813403e
@used-by WC_Order::set_status comment
...
#13891
2017-04-04 11:52:54 +01:00
Claudio Sanches
c89cb04194
Fixed api version compare for #13872
2017-04-03 21:41:00 -03:00
Mike Jolley
c844ec6487
Merge pull request #13817 from woocommerce/improvement-13716
...
Allow setup wizard filtering
2017-04-03 19:26:39 +01:00
Claudiu Lodromanean
ef7dbc75a1
bump down version number
2017-04-03 11:24:01 -07:00
Claudio Sanches
88445f4dd4
Merge pull request #13888 from woocommerce/fix-13887
...
Timezone can be + 30 mins
2017-04-03 15:22:05 -03:00
Mike Jolley
71ce5b85bc
Merge pull request #13884 from woocommerce/fix-13875-13877
...
Private and variable product fixes
2017-04-03 19:16:35 +01:00
Mike Jolley
bf601e7b23
docblock
2017-04-03 19:14:55 +01:00
Claudiu Lodromanean
82c3f93340
Change to single quotes
2017-04-03 09:54:24 -07:00
Mike Jolley
6b11bfbff0
Timezone can be + 30 mins
...
Fixes #13887
2017-04-03 16:01:18 +01:00
Mike Jolley
0a96f17747
Flip orderby
2017-04-03 12:12:13 +01:00
Mike Jolley
c06fdc2e2e
If product has_options, don't show qty in grouped product add to cart form
...
Fixes #13875
2017-04-03 12:05:28 +01:00
Mike Jolley
8598f82c8a
If user can edit private products, search them
...
Fixes #13877
2017-04-03 12:04:59 +01:00
Mike Jolley
31cd2dcb90
Merge pull request #13853 from woocommerce/crud-security-hardening
...
CRUD security/hardening
2017-04-03 11:09:38 +01:00
Mike Jolley
75f79b3279
Se 20y limit on datepicker too
2017-04-03 10:46:37 +01:00
Mike Jolley
da86e02331
Merge pull request #13872 from woocommerce/fix/missing-rest-api-v2-webhooks-settings
...
Include missing REST API v2 from webhooks options.
2017-04-03 09:51:31 +01:00
Claudio Sanches
014262c0cc
Fixed returned data from WC_AJAX::get_customer_details()
2017-04-03 03:00:07 -03:00
Claudio Sanches
1fe791d7d8
Fixed WC_AJAX::get_customer_details() filter deprecated message
2017-04-03 02:59:07 -03:00
Claudio Sanches
984edf07d2
Missing period
2017-04-02 03:27:58 -03:00
Claudio Sanches
5b51b915f6
Fixed a typo
2017-04-02 03:24:52 -03:00
Claudio Sanches
4922e17876
Include missing REST API v2 from webhooks options.
2017-04-02 03:07:09 -03:00
Claudio Sanches
f7db744a90
Updated Emogrifier to 1.2.0
...
Code changed to support PHP 5.2.
Used PHPCompatibility tool to help fix backwards compatibility.
Closes #13788
2017-03-31 17:19:35 -03:00
Claudiu Lodromanean
955f20be80
Do custom buttons before Cancel and Save buttons
2017-03-31 11:28:00 -07:00
Claudiu Lodromanean
0d84865b0f
Pass wizard around
2017-03-31 10:32:19 -07:00
Mike Jolley
999a597055
Escaping in search orders
2017-03-31 17:14:08 +01:00
Claudio Sanches
5aaf23f8a5
Merge pull request #13845 from woocommerce/fix-13842
...
Dont redirect lost password on multisite global pages
2017-03-31 13:05:43 -03:00
Claudio Sanches
cbca4dd5db
Merge pull request #13856 from woocommerce/fix-13849
...
use term_taxonomy_id in upgrade routine
2017-03-31 12:17:54 -03:00
Mike Jolley
0c6c67ba6a
Merge pull request #13855 from woocommerce/fix-13848
...
Only set dates if set/not null
2017-03-31 15:51:33 +01:00
Mike Jolley
a2e60c51e3
use term_taxonomy_id in upgrade routine
...
Fixes #13849
2017-03-31 12:42:07 +01:00
Mike Jolley
8a201b64c5
Only set dates if set/not null
...
Fixes #13848
2017-03-31 12:38:18 +01:00
Mike Jolley
58040c94ae
Increase order key length to 22 to support 2.6
...
Fixes #13850
2017-03-31 12:29:19 +01:00
Mike Jolley
14802a0307
Remove double unserialization
2017-03-31 12:10:20 +01:00
Mike Jolley
b50312a1d8
Prevent bad timestamps being used for dates in reports and add nonce field
2017-03-31 11:50:11 +01:00
Mike Jolley
12e28a83f3
WC_Product_Variable_Data_Store_CPT::read_variation_attributes() cast to int
2017-03-31 11:37:12 +01:00
Mike Jolley
0d1cfe6fd2
Use prepare on `type` in payment token data store
2017-03-31 11:22:47 +01:00
Mike Jolley
f1a699c259
Cleanup
2017-03-31 11:18:22 +01:00
Mike Jolley
a443419006
remove extract and sanitize orderby against whitelist
2017-03-31 11:15:55 +01:00
Claudiu Lodromanean
4bae06b198
Dont redirect lost password on multisite global pages
2017-03-30 10:53:03 -07:00
Mike Jolley
5d62d3c844
Merge pull request #13844 from woocommerce/fix-13839
...
[REST API] Ignore 0 category while querying products
2017-03-30 18:06:04 +01:00
Claudio Sanches
be8036869e
[REST API] Ignore 0 category while querying products
2017-03-30 13:43:59 -03:00
Mike Jolley
c83e725f99
Merge pull request #13835 from woocommerce/fix-13829
...
Update product rating counts after adding a rating
2017-03-30 11:16:40 +01:00
Claudiu Lodromanean
38cd9b4df7
Update product rating counts after adding a rating
2017-03-29 14:51:33 -07:00
Claudio Sanches
61ec9b3e51
Updated version to 3.1.0
2017-03-29 17:56:03 -03:00
Claudio Sanches
84e428abd3
Use correct attribute type label in attributes admin screen
...
This allow use a translatable label for attribute type instead of
forcing English for everybody.
2017-03-29 17:50:09 -03:00
Claudiu Lodromanean
27e1cffa30
Better way of passing on the next stepg
2017-03-29 11:22:55 -07:00
Claudio Sanches
bbd54cc15f
Merge pull request #13816 from woocommerce/fix-13813-2
...
Fixed titles and items from WC_Admin_Menus::nav_menu_links()
2017-03-29 14:27:38 -03:00
Mike Jolley
4e58d40404
Merge pull request #13814 from woocommerce/fix-13813
...
Load custom "WooCommerce endpoint" metabox only in Appearance > Menus.
2017-03-29 18:20:52 +01:00
Claudio Sanches
e4a6882eaf
Merge pull request #13825 from woocommerce/fix-13822
...
Filter empty tax values
2017-03-29 13:40:56 -03:00
Mike Jolley
399c141377
Fix slug updating in CRUD
...
Fixes #13824
2017-03-29 13:41:23 +01:00
Mike Jolley
82ffd9894f
Filter empty tax values
...
Fixes #13822
2017-03-29 13:13:00 +01:00
Mike Jolley
df13658dab
docblock correction
...
Closes #13818
2017-03-29 11:47:37 +01:00
corsonr
0608eaf11a
Fix 13820
...
Add the “description” class to `.cancel_sale_schedule` so that the
“cancel” link gets aligned properly with a margin left of 7 pixels.
2017-03-29 10:01:45 +02:00
Claudiu Lodromanean
da0b048788
Allow setup wizard filtering
2017-03-28 14:45:12 -07:00
Claudio Sanches
ffc3f0f0fd
Merge pull request #13804 from woocommerce/fix-13790
...
[REST API] Fixed all products v1 query parameters.
2017-03-28 18:37:23 -03:00
Claudio Sanches
987fff3775
Fixed titles and items from WC_Admin_Menus::nav_menu_links()
2017-03-28 18:33:06 -03:00
Claudio Sanches
989d60a60a
Include WooCommerce endpoints to customize nav menu setting
2017-03-28 18:07:00 -03:00
Claudio Sanches
6d38a74283
Merge pull request #13811 from woocommerce/fix-13807
...
Define default $discount_amount_html in wc_cart_totals_coupon_html()
2017-03-28 17:06:37 -03:00
Claudio Sanches
0964847e28
Load custom "WooCommerce endpoint" metabox only in Appearance > Menus.
...
Closes #13813
2017-03-28 16:06:26 -03:00
Claudio Sanches
1c369e41e0
Merge pull request #13810 from woocommerce/fix-typo
...
Fix typo
2017-03-28 15:22:45 -03:00
Claudio Sanches
29d86dfea6
Merge pull request #13812 from woocommerce/fix-13803
...
Use new_* hooks instead of created_*
2017-03-28 15:19:41 -03:00
Claudio Sanches
fdbd442e05
Define default $discount_amount_html in wc_cart_totals_coupon_html()
...
Closes #13807
2017-03-28 15:10:05 -03:00
Claudiu Lodromanean
28726570bf
Use new_* hooks instead of created_*
2017-03-28 11:05:45 -07:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
Michael Pretty
6660379f19
Cleanup of PHPDoc for interfaces, fixes #13808
2017-03-28 13:52:32 -04:00
Claudio Sanches
afccb22f58
[REST API] Fixed all products v1 query parameters
2017-03-28 14:44:11 -03:00
Claudio Sanches
54c353d67f
[REST API] Fixed taxonomies query arguments.
...
Fixed the follow error:
PHP Warning: explode() expects parameter 2 to be string, array given in
includes/api/v1/class-wc-rest-products-controller.php on line 156
Error caused since terms are sanitized by wp_parse_id_list() that
already creates an array.
Closes #13790
2017-03-28 14:34:41 -03:00
Mike Jolley
3c008b8a56
Check for null
2017-03-28 17:26:58 +01:00
Mike Jolley
ae7c4e713b
Merge pull request #13793 from woocommerce/fix-13785
...
Load values only when not-empty/set
2017-03-28 17:00:32 +01:00
Mike Jolley
9d9c9cdc9e
Merge pull request #13772 from crodas/order_item_should_check_if_there_is_any_change
...
Do not update order items every time if nothing changed
2017-03-28 15:28:40 +01:00
Mike Jolley
29d6f69a87
Revert "Clear parent transients on variation save"
...
This reverts commit 0694312cc9
.
2017-03-28 14:32:52 +01:00
Mike Jolley
e575904fbf
Revert "Clear parent transient on variation creation"
...
This reverts commit 5f573b8777
.
2017-03-28 14:32:46 +01:00
Mike Jolley
5f573b8777
Clear parent transient on variation creation
2017-03-28 14:01:02 +01:00
Mike Jolley
0694312cc9
Clear parent transients on variation save
2017-03-28 13:51:22 +01:00
Cesar Rodas
55ba115ac5
Make sure the changes includes either $name or $order_id
2017-03-28 08:47:01 -04:00
Mike Jolley
b3198d2546
woocommerce_after_register_post_type action
2017-03-28 12:37:17 +01:00
Mike Jolley
b35e4c0cf9
Load values only when not-empty/set
...
Closes #13785
2017-03-28 12:30:04 +01:00
Mike Jolley
f50254be28
Update notice to protect against calls before post type registration
...
Closes #13763
2017-03-28 12:03:09 +01:00
Mike Jolley
129293ab6f
Remove array filter
...
No args should be null/not set since all args defined by WC have values.
Closes #13786
2017-03-28 11:49:27 +01:00
Claudiu Lodromanean
89128da8ba
Fix child_has_dimensions
2017-03-27 11:52:03 -07:00
Mike Jolley
13903220f7
Merge pull request #13779 from woocommerce/fix-13777
...
Net sales fix
2017-03-27 18:19:45 +01:00
Mike Jolley
57f733388c
Unused variable
2017-03-27 17:32:00 +01:00
Mike Jolley
be45bffd45
ignore duplicates
2017-03-27 17:27:42 +01:00
Mike Jolley
7202ebdb4a
Remove shipping from net sales
...
Fixes #13777
2017-03-27 12:18:09 +01:00
Mike Jolley
9260babfba
Fix end date when no date is set
2017-03-27 12:11:08 +01:00
Mike Jolley
6f3d0c1c11
Install terms prior to update
...
Closes #13770
2017-03-27 11:55:36 +01:00
Cesar Rodas
f2f6d76f6d
Do not update woocommerce_order_items if nothing changed
...
Do not update the item (`woocommerce_order_items`) unless something changed.
2017-03-25 00:30:12 -03:00
Mike Jolley
5ceef2cdd5
Check we have a product object.
2017-03-24 15:02:51 +00:00
Claudio Sanches
9983b005a6
Merge pull request #13766 from woocommerce/fix-13722
...
Settings API fixes
2017-03-24 11:24:28 -03:00
Claudio Sanches
eb0f9656c2
Merge pull request #13765 from woocommerce/fix-13752
...
Cast values to float
2017-03-24 11:18:03 -03:00
Claudio Sanches
1147c4f5b3
Merge pull request #13764 from woocommerce/fix-13750
...
Support (not really) relative paths
2017-03-24 11:16:48 -03:00
Mike Jolley
ca8fafdd36
Hide enabled/description
2017-03-24 13:27:47 +00:00
Mike Jolley
53a7d54253
Update settings once
2017-03-24 13:22:09 +00:00
pierrebuet
32f8142c91
Fixes #13748
2017-03-24 12:13:00 +00:00
Mike Jolley
7857fbe41f
Cast values to float
...
Fixes #13752
2017-03-24 12:05:28 +00:00
Mike Jolley
7fd2f4f554
Support (not really) relative paths
...
Fixes #13750
2017-03-24 11:48:32 +00:00
Mike Jolley
8b4ce8460a
Merge pull request #13757 from woocommerce/fix/rest-api/shipping-zones-methods-schema
...
[REST API] Properly handle required items of shipping zone methods
2017-03-24 10:39:23 +00:00
Mike Jolley
9af295d618
Merge pull request #13753 from woocommerce/fix/rest-api-shipping-zones-schema
...
[REST API] Fixed shipping zones schema
2017-03-24 10:38:51 +00:00
Mike Jolley
a9f3f9b82c
Merge pull request #13758 from woocommerce/fix/rest-api-system-status-schema
...
[REST API] System status schema fixes
2017-03-24 10:34:11 +00:00
Mike Jolley
af8e892f97
Merge pull request #13759 from woocommerce/fix/rest-api-settings-links
...
[REST API] Fixed links of settings endpoint
2017-03-24 10:33:16 +00:00
Mike Jolley
803786ceeb
Merge pull request #13755 from woocommerce/fix/shipping-zone-locations-schema
...
[REST API] Fixed shipping zone locations schema
2017-03-24 10:27:52 +00:00
Mike Jolley
285a49b7e0
Merge pull request #13747 from woocommerce/fix/rest-api-settings-schema
...
[REST API] Fixed settings schema.
2017-03-24 10:26:59 +00:00
Mike Jolley
5cb3b9e0ea
Merge pull request #13751 from woocommerce/fix/rest-api-setting-options-rest-base
...
[REST API] Fix setting options rest base
2017-03-24 10:26:22 +00:00
Mike Jolley
0ad1f6a63f
Merge pull request #13709 from woocommerce/fix-13708
...
Timezone/DST fixes
2017-03-24 10:25:08 +00:00
Manos Psychogyiopoulos
24a2ff1960
Add woocommerce_add_to_cart_sold_individually_found_in_cart hook
...
Makes it easy for 3p code to change the condition that identifies whether a "sold individually" product is in the cart. For example, 3p code may use this hook to identify whether a product with the same ID already exists in the cart (instead of relying on finding the same hash/key).
2017-03-24 10:41:27 +02:00
Claudio Sanches
7381b008e0
[REST API] Fixed links for settings endpoint
...
Do not allow embed and updated the key to reflect the items from the endpoint response
2017-03-24 01:56:50 -03:00
Claudio Sanches
00b9f636a8
Fixed description of items in system status schema
2017-03-24 00:48:41 -03:00
Claudio Sanches
bfbd45cf85
[REST API] System status schema items are all view context only
2017-03-24 00:43:46 -03:00
Claudio Sanches
5cc246b5cb
[REST API] All items from system status endpoint should be readonly
2017-03-24 00:41:39 -03:00
Claudio Sanches
3ca1d946d9
[REST API] Properly handle required items of shipping zone methods
2017-03-23 22:19:16 -03:00
Claudio Sanches
7a671ab8a5
[REST API] Fixed shipping zone locations schema
...
This also fix improper sanitization and validation of the items.
2017-03-23 21:44:46 -03:00
Claudio Sanches
8f3f313eff
Fixed coding standards
2017-03-23 20:56:02 -03:00
Claudio Sanches
85494e5d86
[REST API] Fixed shipping zones schema
...
"name" is only required while creating a new zone.
"order" do request to define "required" and is already sanitized by
"integer" type.
2017-03-23 20:51:21 -03:00
Claudio Sanches
b1023c23c6
Fixed setting options endpoint tests
2017-03-23 20:45:22 -03:00
Claudio Sanches
ffe1deba51
Disable setting options endpoint in CLI
2017-03-23 20:37:42 -03:00
Claudio Sanches
c24882f5d2
Apply change on rest_base to WC_REST_Setting_Options_Controller methods
2017-03-23 20:05:19 -03:00
Claudio Sanches
fb80482d73
Fixed rest_base
2017-03-23 19:56:56 -03:00
Claudio Sanches
0a7076744e
[REST API] Fixed settings/options rest_base
2017-03-23 19:52:35 -03:00
Claudio Sanches
39e1fd9fc3
Merge pull request #13745 from woocommerce/fix/rest-api-name-convention
...
[REST API] Fixed file name convention
2017-03-23 19:50:51 -03:00
Claudio Sanches
94cb95c000
Merge pull request #13746 from woocommerce/fix/rest-api-shipping-methods-schema
...
[REST API] All items in shipping_methods endpoint are readonly
2017-03-23 19:50:39 -03:00
Claudio Sanches
e33235ebf3
[REST API] Fixed settings schema.
...
Included context and readonly for all items.
And removed sanitize_callback used only in write context
2017-03-23 18:15:30 -03:00
Claudio Sanches
f65cbdbfa4
[REST API] All items in shipping_methods endpoint are readonly
2017-03-23 17:59:50 -03:00
Claudio Sanches
44319e20f7
[REST API] Fixed file name convention
2017-03-23 17:48:37 -03:00
Claudio Sanches
b8faa2197c
[REST API] Fixed default_attributes in legacy REST API
2017-03-23 17:23:12 -03:00
Claudio Sanches
8371882002
[REST API] Fixed a minor bug that prevents saving default_attributes
2017-03-23 17:19:07 -03:00
Mike Jolley
1876c83409
Merge pull request #13743 from rodrigoprimo/deprecated-messages
...
Add the class name to deprecated messages wherever appropriate
2017-03-23 16:37:46 +00:00
Mike Jolley
91aa8a1b09
Merge pull request #13742 from woocommerce/fix-13734
...
Show variation prices if the sale prices do not all match
2017-03-23 16:37:04 +00:00
Rodrigo Primo
28c8ae8f95
Add the class name to deprecated messages wherever appropriate
...
Doing this change to make it easier to locate the deprecated method and its replacement and also to be consistent with the other deprecated messages.
2017-03-23 12:32:02 -03:00
Mike Jolley
9ea23023c5
Merge pull request #13737 from woocommerce/fix-13728
...
Use floats for qty
2017-03-23 15:14:28 +00:00
Mike Jolley
73dd37fbd7
Show variation prices if the sale prices do not all match
...
fixes #13734
2017-03-23 14:21:16 +00:00
Mike Jolley
a0949747fa
Hide refund email from resend option
...
Closes #13713
See https://github.com/woocommerce/woocommerce/issues/13738
2017-03-23 11:25:03 +00:00