Claudio Sanches
c074c9d57b
[REST API] Fixed date and included GMT dates to webhooks
2017-03-22 18:36:15 -03:00
Claudio Sanches
7f8c4b18e1
[REST API] Fixed date and included GMT date for webhook deliveries
2017-03-22 18:34:10 -03:00
Claudio Sanches
73f7a39d09
[REST API] Fixed timezone date and included GMT date to product reviews
2017-03-22 18:28:57 -03:00
Claudio Sanches
0f5e6373e4
[REST API] Include GMT dates for images in schema
2017-03-22 18:23:41 -03:00
Claudio Sanches
dbd2409e03
[REST API] Added timezone and GMT dates in category image
2017-03-22 18:17:53 -03:00
refael iliaguyev
d8cd0a7550
prevent flipping of color input in rtl
2017-03-22 22:12:07 +02:00
Mike Jolley
72be782e2a
Merge pull request #13719 from rodrigoprimo/remove-unused-phpdoc
...
Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product()
2017-03-22 19:16:39 +00:00
Mike Jolley
31784f23e3
Merge pull request #13720 from rodrigoprimo/remove-unused-variable
...
Remove unused global variable from WC_Order_Item_Product::get_item_downloads()
2017-03-22 19:16:25 +00:00
Rodrigo Primo
b47a7b52df
Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product()
2017-03-22 16:04:49 -03:00
Mike Jolley
56d55517cc
Merge pull request #13698 from woocommerce/remove-factory-cache
...
Remove factory cache
2017-03-22 19:02:53 +00:00
Mike Jolley
b1e76fa68e
Merge pull request #13718 from rellect/correct-hours-minutes-rtl
...
RTL - Correct hour:minute input alignment in order details
2017-03-22 19:02:29 +00:00
Rodrigo Primo
ce9ecefa98
Remove unused global variable from WC_Order_Item_Product::get_item_downloads()
2017-03-22 16:00:11 -03:00
refael iliaguyev
baef6f3907
correct hours:minutes inputs in rtl
2017-03-22 20:17:35 +02:00
Brent Shepherd
16cc914714
Restore prior order item length
...
To maintain backward compatibility with custom order item types,
like 'order_item_pending_switch' used by Subscriptions.
2017-03-22 10:11:46 -07:00
Mike Jolley
a876862bfb
Merge pull request #13693 from woocommerce/orders-refunds-fix-schema
...
Include missing api_refund item to order refunds schema
2017-03-22 15:21:37 +00:00
Mike Jolley
b55f59e975
Merge pull request #13694 from woocommerce/fix-missing-settings-schema
...
Include missing payment gateways and shippingmethods settings schema
2017-03-22 15:21:27 +00:00
Mike Jolley
64905a4d5e
Merge pull request #13692 from woocommerce/order-notes-dates
...
Include date_created_gmt in order notes endpoint
2017-03-22 15:21:19 +00:00
Claudio Sanches
7f7fbcbb5d
Improve order notes schema
2017-03-22 10:53:59 -03:00
Claudio Sanches
8184757e8a
Improved descrition of items in schema
2017-03-22 10:51:52 -03:00
Claudio Sanches
1480257768
Merge pull request #13704 from woocommerce/fix-13700
...
Allow `data-coupon` through kses
2017-03-22 10:47:01 -03:00
Claudio Sanches
7485b418d7
Improve api_refund description
2017-03-22 10:39:23 -03:00
Mike Jolley
3b35d95c6a
Use gmdate and GMT in data stores so times are not changed
2017-03-22 12:01:38 +00:00
Mike Jolley
15bbac6b5c
Allow `data-coupon` though kses
...
Fixes #13700
2017-03-22 10:53:18 +00:00
Mike Jolley
414e2b9501
Shared cache for order items
2017-03-21 23:50:05 +00:00
Mike Jolley
91f109c33d
Cache order item data
2017-03-21 23:38:04 +00:00
Mike Jolley
2763abb605
Cache order items
2017-03-21 23:37:47 +00:00
Mike Jolley
c4c8edee5f
Remove order and product factory cache
2017-03-21 23:37:38 +00:00
David Anderson
57ab34f13e
Remove redundant / awkward empty password check
...
WooCommerce here checks that the password is not empty. This check is redundant, because it is already performed by wp_authenticate_email_password() (which is invoked, eventually, by the call in WC to wp_signon() ). Moreover, it is harmful, because it prevents extension of the login form. For example, in my use case, I have added a code to be scanned by a smartphone app as an alternative to the password. When the code is scanned, a password is required.
This extra/redundant check for an empty password on the WooCommerce form prevents my already-working-on-the-standard-wp-login-form code from working here, and there's no way to work around it that isn't hacky/ugly (e.g. direct manipulation of $_POST).
2017-03-21 23:21:43 +00:00
Mike Jolley
795e6871c0
Merge pull request #13691 from woocommerce/fix-address-labels
...
Improve address labels to help translations
2017-03-21 21:28:16 +00:00
Justin Shreve
d11e7a93ca
Merge pull request #13695 from woocommerce/fix-undefined-error-payments-endpoint
...
Fixed undefined variables in payment methods endpoint
2017-03-21 14:12:57 -07:00
Justin Shreve
8392c793a7
Merge pull request #13690 from woocommerce/sleep-wakeup-data
...
Sleep and Wakeup for WC_Data
2017-03-21 14:12:01 -07:00
Justin Shreve
f4add2839b
Merge pull request #13688 from alarocca130/master
...
Fix: post_meta function for payment token meta
2017-03-21 13:55:54 -07:00
Claudio Sanches
be8ec903b5
Include missing payment gateways and shippingmethods settings schema
2017-03-21 17:47:28 -03:00
Claudio Sanches
d2e1565f97
Fixed undefined variables in payment methods endpoint
2017-03-21 17:34:16 -03:00
Claudio Sanches
3b1da48c8d
Fixed type
2017-03-21 17:07:01 -03:00
Claudio Sanches
461543fdbf
Include missing api_refund item to order refunds schema
2017-03-21 17:04:25 -03:00
Claudio Sanches
ad1dab947e
Include date_created_gmt in order notes endpoint
2017-03-21 16:37:06 -03:00
Claudio Sanches
b528e25759
Improve address labels to help translations
2017-03-21 15:54:23 -03:00
Mike Jolley
98f5ba44e8
Protection against removed objects.
2017-03-21 18:31:38 +00:00
Mike Jolley
add78adf0c
Merge branch 'master' into sleep-wakeup-data
2017-03-21 17:42:35 +00:00
Mike Jolley
991927c2d8
Handle sleep and wakeup in WC_Data class
2017-03-21 17:42:34 +00:00
Mike Jolley
9d5aee2c73
Remove code which expands/changes objects in emails
2017-03-21 17:36:46 +00:00
Mike Jolley
3e7f902e75
Merge pull request #13685 from woocommerce/fix-13682
...
Use display value when searching the title
2017-03-21 16:59:52 +00:00
Mike Jolley
1c2c9968d3
Merge pull request #13684 from woocommerce/fix-13681
...
get_tax_refunded_for_item ignoring tax id
2017-03-21 16:59:40 +00:00
alarocca130
7dc539e43b
Fix: post_meta function for payment token meta
2017-03-21 17:41:00 +01:00
Mike Jolley
e2c73c2277
Tweak labels for customer reg
...
Closes #13676
2017-03-21 13:23:38 +00:00
Claudio Sanches
f6d7e52e06
Merge pull request #13687 from woocommerce/fix-13674
...
Cleanup of wc_cart_totals_coupon_html
2017-03-21 10:23:17 -03:00
Claudio Sanches
fadfa4d903
Merge pull request #13686 from woocommerce/fix-13660
...
Use h2 in shortcodes and product loops
2017-03-21 10:22:14 -03:00
Mike Jolley
83ca80d466
Spacing and rules
2017-03-21 13:14:51 +00:00
Mike Jolley
18c22a885d
Cleanup of wc_cart_totals_coupon_html
...
#13674
2017-03-21 13:04:29 +00:00
Mike Jolley
7bea5db423
Use h2
...
Fixes #13660
2017-03-21 12:54:04 +00:00
Mike Jolley
78d564e02c
Merge pull request #13665 from JeroenSormani/custom-order-item
...
Add required filters to allow custom order item types
2017-03-21 12:08:28 +00:00
Mike Jolley
317ca0965e
Use display value when searching the title
...
Fixes #13682
2017-03-21 11:30:57 +00:00
Mike Jolley
3a2f3586ed
get_tax_refunded_for_item ignoring tax id
...
Fixes #13681
2017-03-21 11:20:39 +00:00
Claudiu Lodromanean
c0a01a1fe4
Dont set empty strings as tax totals
2017-03-20 15:14:41 -07:00
Jeroen Sormani
9724bcd698
Change filter 'get_order_item_classname' to have $id
2017-03-20 21:42:57 +01:00
refael iliaguyev
af55947f87
Revert "Drop repeated conditions for rtl aligning, use variable instead"
...
This reverts commit a894e7b241
.
2017-03-20 22:21:44 +02:00
Claudio Sanches
ee15a48b7e
Merge pull request #13654 from woocommerce/fix-12804
...
[REST API] Return attribute names instead of slugs
2017-03-20 16:45:50 -03:00
Jeroen Sormani
d07d32c3d2
Add empty/not-false
...
Ref: https://github.com/woocommerce/woocommerce/pull/13665/files#r106967582
2017-03-20 20:17:49 +01:00
refael iliaguyev
a894e7b241
Drop repeated conditions for rtl aligning, use variable instead
2017-03-20 20:53:16 +02:00
Claudio Sanches
b7c53bda38
Merge pull request #13672 from woocommerce/schema-text
...
Schema text changes
2017-03-20 14:02:44 -03:00
Mike Jolley
fe76452a61
Merge remote-tracking branch 'origin/master'
2017-03-20 16:25:40 +00:00
Mike Jolley
f14ce2f5f4
Merge branch 'pr/13663'
2017-03-20 16:25:37 +00:00
Mike Jolley
357227f46a
Code style
2017-03-20 16:25:30 +00:00
Mike Jolley
9bcfcb82c5
Merge branch 'master' into remove-product-internal-meta-keys
...
# Conflicts:
# includes/data-stores/class-wc-product-data-store-cpt.php
2017-03-20 16:13:45 +00:00
Mike Jolley
47036f2f48
Update setting wording
2017-03-20 16:08:53 +00:00
Mike Jolley
94148cf512
Text changes
2017-03-20 16:01:55 +00:00
Mike Jolley
dea59579bb
description changes, and usage of ID's instead of IDs
2017-03-20 15:47:51 +00:00
Mike Jolley
2dbf0d7560
Merge pull request #13656 from woocommerce/remove-post-internal-meta-keys
...
Remove post related internal post keys from products
2017-03-20 12:48:39 +00:00
Mike Jolley
941815acf5
Merge pull request #13666 from JeroenSormani/miscellaneous-cleanup
...
Miscellaneous cleanup of typos + change some return types for IDE hel…
2017-03-20 12:41:33 +00:00
JeroenSormani
a29ba23fab
Miscellaneous cleanup of typos + change some return types for IDE helpers
2017-03-20 11:03:14 +01:00
JeroenSormani
373bdda4f8
Add required filters to allow custom order item types
2017-03-20 10:37:06 +01:00
Krzysztof Grabania
b302d80707
Change default hidden shop_order columns
...
Since WC requires at least WP 4.4 we can use `default_hidden_columns` filter rather than creating user meta for hidden by default columns in shop orders. This PR also adds some conditional for hiding shipping or billing column based on `woocommerce_ship_to_countries` option.
2017-03-20 09:28:38 +01:00
Claudio Sanches
2d400bffd2
Remove post related internal post keys froom products
2017-03-17 17:37:38 -03:00
Claudio Sanches
1a87792109
Remove some product internal meta keys
2017-03-17 17:30:38 -03:00
Claudio Sanches
e3c2c79e00
[REST API] Return attribute names instead of slugs
...
Closes #12804
2017-03-17 17:25:38 -03:00
Mike Jolley
196ba7b770
Ensure we have a product before checking if it exists
...
Fixes #13642
2017-03-17 16:26:26 +00:00
Justin Shreve
a17ba8f3ad
Merge pull request #13637 from woocommerce/fix/13636-serialized-data-stores
...
Preventing the instance Data Store from being serialized with the con…
2017-03-17 08:53:24 -07:00
Justin Shreve
d457891bd8
Add punctuation to docblock comments.
2017-03-17 08:52:02 -07:00
Mike Jolley
2970a64516
Merge pull request #13643 from woocommerce/fix-13639
...
Force max to blank string when < 0
2017-03-17 15:36:35 +00:00
Mike Jolley
8d0a4a3caf
Use correct getter in legacy API for get_discount
...
Fixes #13635
2017-03-17 14:37:19 +00:00
Mike Jolley
e7397f96e7
Force max to blank string when < 0
...
Fixes #13639
2017-03-17 12:57:18 +00:00
Michael Pretty
1538eb9334
using old array constructor for older PHP support
2017-03-16 17:38:18 -04:00
Michael Pretty
980500c353
Preventing the instance Data Store from being serialized with the containing WC_Data object
2017-03-16 17:23:06 -04:00
Claudio Sanches
1aa8218b26
Fixed oauth signature replacing spaces by plus sign
...
oAuth signatures are encoded by base64, that can generate plus signs.
See RFC 4648 <http://www.rfc-editor.org/rfc/rfc4648.txt >
By default plus signs in query params are replaced into spaces while
trying to access by super globals like $_GET and $_POST
Closes #13615
2017-03-16 14:23:45 -03:00
Mike Jolley
adfd955194
Merge pull request #13619 from woocommerce/fix-13618
...
Remove add to cart from referer
2017-03-16 16:47:17 +00:00
Mike Jolley
a2d98883cd
SQL should use = not IN
...
fixes #13616
2017-03-16 12:51:48 +00:00
Mike Jolley
5440a45587
Remove add to cart from referer
...
Fixes #13618
2017-03-16 11:18:15 +00:00
Claudio Sanches
0f4a8b88e2
Merge pull request #13612 from woocommerce/fix-payment-token-extra-data
...
Prevents combining empty arrays in WC_Payment_Token_Data_Store
2017-03-15 15:53:25 -03:00
Claudio Sanches
abb053b277
Prevents combining empty arrays in WC_Payment_Token_Data_Store
...
PHP 5.3 and 5.2 issue E_WARNING and return FALSE for empty arrays.
2017-03-15 15:39:24 -03:00
Claudio Sanches
c856abba3e
Change default WordPress auto-draft title for product
...
This helps handle variations title while syncing variations.
Using a translatable string can led to errors, like a auto-draft started
by an user with WP admin set up as pt_BR and published by an user in
en_GB.
2017-03-15 15:12:49 -03:00
Claudio Sanches
dfd2d7387c
Revert 71ecb57
2017-03-15 14:08:41 -03:00
Claudio Sanches
71ecb57d2d
Fixed missing text domain
2017-03-15 13:59:18 -03:00
Claudio Sanches
544060c0f2
Updated upgrade script from 2.7 to 3.0
2017-03-15 13:55:07 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
75a5b062cf
Merge pull request #13577 from woocommerce/fix-13498
...
Timezone/Date method handling
2017-03-15 16:09:41 +00:00
Mike Jolley
eba500d96a
array spacing
2017-03-15 16:08:23 +00:00
Mike Jolley
0f2f1699dc
Spacing
2017-03-15 16:08:10 +00:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley
943c507d3f
Merge pull request #13606 from woocommerce/fix-13525-api
...
Fix 13525 api
2017-03-15 15:43:45 +00:00