Commit Graph

21020 Commits

Author SHA1 Message Date
Mike Jolley 3c57508f56 Correct variable name in order structured data
Fixes #14944
2017-05-08 17:46:40 +01:00
Mike Jolley 03a69e1d44 Prepend new item keys with `$items_key` to make them unique.
Fixes #14875
2017-05-08 17:44:10 +01:00
Jason Judge 1156cf9e0d Merge branch 'master' of https://github.com/woocommerce/woocommerce 2017-05-08 17:26:46 +01:00
Jason Judge 0a5d9f9a3a Issue #14900 Make INNER select explit. 2017-05-08 17:25:31 +01:00
Mike Jolley 7d956ca797 If prices are the same for all variations, use price not priceSpecification
Closes #14848
2017-05-08 16:53:27 +01:00
Claudio Sanches 7ba011a3b8 Properly save order items in legacy REST API
Closes #14917
2017-05-08 12:37:33 -03:00
Mike Jolley 36f78230fc reset post data prevents grouped products working in shortcodes
Fixes #14825
2017-05-08 16:14:46 +01:00
Claudio Sanches 89b28fd656 Merge pull request #14938 from woocommerce/fix/14920
wc_attribute_taxonomy_id_by_name should use wc_sanitize_taxonomy_name to prevent breaking special chars
2017-05-08 12:12:34 -03:00
Jason Judge 02fed84dc0 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2017-05-08 15:26:36 +01:00
Mike Jolley e84092b900 wc_attribute_taxonomy_id_by_name should use wc_sanitize_taxonomy_name to prevent breaking special chars
Fixes #14920
2017-05-08 15:01:04 +01:00
Mike Jolley 3289bee968 Clear left every 4 thumbnails
Fixes #14819
2017-05-08 14:46:58 +01:00
Jason Judge 9bd56b312f Issue #14900 Make implicit array cast to boolean an explixit check. 2017-05-08 14:39:08 +01:00
Mike Jolley af949b73ec Add noscript style for gallery
Fixes #14882
2017-05-08 14:35:23 +01:00
Mike Jolley bdd3eba7c4 Use correct full size for variation images
Closes #14866
2017-05-08 14:35:07 +01:00
Mike Jolley b961d6fb74 Correctly exclude terms in wc_get_related_products
Fixes #14909
2017-05-08 14:15:16 +01:00
Mike Jolley a4ad49a8e3 Only set reply-to if the email + name is set.
Closes #14151
2017-05-08 12:50:39 +01:00
Mike Jolley 885e332f5a Use numeric, not decimal
Closes #14815
2017-05-08 12:34:00 +01:00
Mike Jolley c7e9a4c809 Hide offers from structured markup when blank
Fixes #14854
2017-05-08 11:59:33 +01:00
Mike Jolley d81dc541c2 Merge pull request #14699 from woocommerce/updated-upgrade-notice
Refreshed the message slightly while removing an older doc.
2017-05-07 16:25:47 +01:00
Mike Jolley eadb0cdf4f Merge pull request #14911 from woocommerce/fix/14833
Fixed "Process to checkout" button color in Twenty seventeen dark theme
2017-05-07 15:11:10 +01:00
Mike Jolley dd3be1278b Merge pull request #14733 from woocommerce/feature/13646
WC_Object_Query & WC_Order_Query
2017-05-07 14:24:12 +01:00
Jason Judge 3dd5acfd47 Issue #14900 Tidy up code (long lines and commented old lines removed). 2017-05-05 22:44:27 +01:00
Jason Judge 980de0cd52 Issue #14900 Some fixes and variable name changes. 2017-05-05 21:54:04 +01:00
Claudio Sanches c0e71a2238 Merge pull request #14797 from woocommerce/fix/14426-1
Standardize rating HTML in all templates
2017-05-05 17:47:28 -03:00
Claudio Sanches b43fec3bd7 Merge pull request #14910 from woocommerce/fix/ip-address
Check if IP address is valid
2017-05-05 17:46:36 -03:00
Claudio Sanches 3f31cdf6ff Fixed "Process to checkout" button color in Twenty seventeen dark theme
Fixes #14833
Closes #14834
2017-05-05 17:43:13 -03:00
Jason Judge 105a77a693 Issue #14900 Restructure _wc_term_recount() query.
I will split the super-long lines, and remove the commented old lines,
but just wanted something functional to test in production for tonight.
2017-05-05 21:38:25 +01:00
Claudio Sanches 95f2033f88 Merge pull request #14895 from franticpsyx/tweak-wc-display-item-meta
[3.0] Tweak meta display value rendering in `wc_display_item_meta`
2017-05-05 17:09:03 -03:00
Claudio Sanches d39e317182 Merge pull request #14891 from woocommerce/zipcode-validation-FR
Add zipcode validation for France
2017-05-05 17:07:42 -03:00
Claudio Sanches f434fc7d9a Merge pull request #14902 from woocommerce/fix/14841
Use term name when reordering.
2017-05-05 17:03:21 -03:00
Claudio Sanches 08db8cebec Check if IP address is valid 2017-05-05 16:58:08 -03:00
claudiulodro 05f3283c75 Remove debug 2017-05-05 09:18:15 -07:00
claudiulodro afe1a0dd21 Use term name for tax-based attribute reorder 2017-05-05 09:15:27 -07:00
Claudiu Lodromanean e005fe0207 Merge pull request #14887 from woocommerce/fix/14850
Fixed warning when no customer country is defined.
2017-05-05 08:39:27 -07:00
Manos Psychogyiopoulos bbf0be1205 Tweak meta display value rendering in wc_display_item_meta 2017-05-05 16:11:49 +03:00
corsonr 96bfb45b02 Add zipcode validation for France
Add zipcode validation for France and oversea territory.
2017-05-05 09:52:03 +02:00
Claudio Sanches 80652660f9 Properly setup autoprefixer #14800 2017-05-04 19:29:40 -03:00
Claudio Sanches 3d5cafe840 Merge pull request #14800 from rellect/grunt_auto_prefix
Use grunt autoprefixer
2017-05-04 19:04:59 -03:00
Claudio Sanches 1753406dc0 Fixed warning when no customer country is defined.
Fixes #14850
2017-05-04 18:54:44 -03:00
Claudio Sanches 9930099b98 Merge pull request #14846 from woocommerce/fix/non-numeric-warning-order
Fix non numeric warning for orders.
2017-05-04 18:35:51 -03:00
claudiulodro 5a963f74c2 Clean p 2017-05-04 14:27:40 -07:00
claudiulodro b907aa74f6 Finish parser and unit test 2017-05-04 14:20:59 -07:00
Claudio Sanches bc24b0e728 Merge pull request #14869 from ovidiumght/master
Wrong attribute param annotations
2017-05-04 13:51:35 -03:00
Claudio Sanches b5385a6a20 Merge pull request #14864 from woocommerce/fix/14857
Introduced woocommerce_shop_order_search_results filter
2017-05-04 13:40:39 -03:00
Paul Kilmurray 71e462469a Problem in WC_Abstract_Order->get_items()
This only effects new items, which are given duplicate array keys, eg: `new:0`, `new:1` etc.
2017-05-04 19:12:19 +09:00
Paul Kilmurray b5f182e14d Problem in WC_Abstract_Order->get_items()
This test will fail.

If the order is created with different item types, eg: *line_item* and *fee*, they will both be given the key `new:0`. Items with duplicate keys are not combined in the `get_items` function ([line 703](https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/abstract-wc-order.php#L703)).
2017-05-04 18:47:43 +09:00
Boro Sitnikovski f493afe718 intval -> floatval 2017-05-04 10:09:16 +02:00
Beka Rice adf0851117 Fix: mark stock as reduced in wc_reduce_stock_levels() 2017-05-04 03:52:38 -04:00
Ovidiu Magheitu 497c0ecae1 Wrong attribute param annotations 2017-05-04 09:48:05 +03:00
claudiulodro d642212205 More parser progress 2017-05-03 14:53:31 -07:00