Commit Graph

20061 Commits

Author SHA1 Message Date
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 902d9493b5 Merge pull request #13655 from woocommerce/remove-product-internal-meta-keys
Remove some product internal meta keys
2017-03-20 16:14:06 +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 313040a291 Merge pull request #13673 from woocommerce/tweak-13671
Update setting wording
2017-03-20 16:12:17 +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
refael iliaguyev 6aed418b6f replace hard coded aligning with rtl conditions 2017-03-19 22:23:18 +02:00
Claudio Sanches 8452713225 Fill $wc_product_attributes global in unit tests 2017-03-17 18:04:50 -03: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
Claudio Sanches d6d6096cba Merge pull request #13630 from woocommerce/fix-13628
Match language array in select2
2017-03-17 16:20:44 -03:00
Claudio Sanches ad10e444f0 Merge pull request #13651 from woocommerce/fix-13642
Ensure we have a product before checking if it exists
2017-03-17 16:14:20 -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 725c153d0c Merge pull request #13647 from woocommerce/fix-13635
Use correct getter in legacy API for get_discount
2017-03-17 15:35:56 +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
Mike Jolley 476041698f tabs 2017-03-17 11:27:23 +00:00
Mike Jolley aa2cf11dc4 Merge pull request #13626 from Dartui/master
Hide email "Customer details" section if $fields are empty
2017-03-17 11:27:05 +00:00
Mike Jolley c1ce490956 Country select 2017-03-17 11:25:53 +00:00
Claudio Sanches 5796ce3193 Merge pull request #13632 from woocommerce/fix-13615
Fixed oauth signature replacing spaces by plus sign
2017-03-16 19:53:22 -03: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 2011c19b53 Match language array in select2
Closes #13628
2017-03-16 17:03:12 +00: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 a7ac273dc9 Merge pull request #13621 from woocommerce/fix-13620
Change href of link with variation image.
2017-03-16 16:47:09 +00:00
Mike Jolley b6126832ad Merge pull request #13623 from woocommerce/fix-13616
Update function should use = not IN
2017-03-16 16:46:59 +00:00
Krzysztof Grabania b1af09c550 Hide Customer details section in email if $fields are empty 2017-03-16 14:02:19 +01:00
Mike Jolley a2d98883cd SQL should use = not IN
fixes #13616
2017-03-16 12:51:48 +00:00
Mike Jolley f29d4619d3 Change href of link with variation image.
Fixes #13620
2017-03-16 11:56:00 +00:00
Mike Jolley 5440a45587 Remove add to cart from referer
Fixes #13618
2017-03-16 11:18:15 +00:00
Claudio Sanches 7bd996f45e 3.0.0-rc.1 2017-03-15 15:58:01 -03:00
Claudio Sanches 95d36bd399 POT 2017-03-15 15:57:50 -03: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 d7cd83d053 Merge pull request #13611 from woocommerce/fix-variations-title-replacement
Change default WordPress auto-draft title for product
2017-03-15 15:40:21 -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 095e062d74 POT 2017-03-15 14:00:42 -03:00