Commit Graph

11011 Commits

Author SHA1 Message Date
Claudio Sanches 58fa8542b6 Merge pull request #14933 from woocommerce/fix/14815
Use numeric, not decimal
2017-05-08 15:36:39 -03:00
Mike Jolley e0583d2cd9 Merge branch 'master' into update/14848
# Conflicts:
#	includes/class-wc-structured-data.php
2017-05-08 19:13:12 +01:00
Claudio Sanches e92b93f992 Merge pull request #14937 from woocommerce/fix/gallery-noscript-and-alignment
Gallery fixes
2017-05-08 14:45:41 -03:00
Claudio Sanches 1e2b62a1fe Merge pull request #14935 from woocommerce/fix/14909
Correctly exclude terms in wc_get_related_products
2017-05-08 14:45:06 -03:00
Claudio Sanches d2fb33c7d4 Merge pull request #14934 from woocommerce/fix/14151
Only set reply-to if the email + name is set.
2017-05-08 14:43:39 -03:00
Mike Jolley f4941420b0 Merge pull request #14942 from woocommerce/fix/14917
Properly save order items in legacy REST API
2017-05-08 18:17:34 +01:00
Claudio Sanches ec5df6450c Merge pull request #14931 from woocommerce/fix/14854
Hide offers from structured markup when blank
2017-05-08 14:01:58 -03:00
Claudio Sanches 257594a67c Merge pull request #14945 from woocommerce/pr/14875
Pr/14875
2017-05-08 13:56:12 -03:00
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
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 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 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 dd3be1278b Merge pull request #14733 from woocommerce/feature/13646
WC_Object_Query & WC_Order_Query
2017-05-07 14:24:12 +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 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 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
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 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
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
Boro Sitnikovski f493afe718 intval -> floatval 2017-05-04 10:09:16 +02:00
Ovidiu Magheitu 497c0ecae1 Wrong attribute param annotations 2017-05-04 09:48:05 +03:00
Claudio Sanches abfedafd46 Merge pull request #14842 from woocommerce/fix/14799
Get outdated plugins using get_plugin_updates()
2017-05-03 18:42:17 -03:00
Claudio Sanches 421c9a3ba7 Introduced woocommerce_shop_order_search_results filter
Closes #14857
2017-05-03 18:14:41 -03:00
Claudio Sanches 84dfaf3c09 Merge pull request #14851 from franticpsyx/clone-meta-data
[3.0] Clone each meta stdClass object when cloning a WC_Data object
2017-05-03 18:03:54 -03:00
Claudio Sanches 12bd41dd4b Merge pull request #14849 from franticpsyx/fix-get-price-html-from-to-fallback
[3.0] Incorrect use of `wc_format_price_range` in `get_price_html_from_to`
2017-05-03 17:40:40 -03:00
Claudio Sanches 6f126d7c60 Merge pull request #14853 from woocommerce/fix/14818
Improve "Save Order" button to reproduce WordPress post/page behavior
2017-05-03 17:36:22 -03:00
Claudio Sanches 63552c9757 Fixed conflict between global attributes and custom attributes.
Check if is a custom attribute before trying to get an ID from a global attribute.
2017-05-03 16:30:50 -03:00
Claudio Sanches 67258ec8da Improve "Save Order" button to reproduce WordPress post/page behavior
Display "Create" when order is in "auto-draft" status and then display only "Update" after.

Closes #14818
2017-05-03 15:06:06 -03:00
Claudio Sanches 7edf10e9e1 Merge pull request #14843 from woocommerce/fix/14831
[REST API] Adds missing "id" in shipping zone methods endpoint
2017-05-03 13:37:56 -03:00
Manos Psychogyiopoulos 8f7671f066 Clone each meta object when cloning WC_Data object to avoid modifying original meta stdClass objects 2017-05-03 16:37:01 +03:00
Manos Psychogyiopoulos faa53edc2b Call `wc_format_sale_price` in `get_price_html_from_to` 2017-05-03 15:13:29 +03:00
Boro Sitnikovski 8f63211f1c Fix non numeric warning for orders. 2017-05-03 08:31:35 +02:00
Claudio Sanches 7b5d56c643 [REST API] Adds missing "id" in shipping zone methods endpoint
This missing "id" will break CLI.

Added as duplicated with `instance_id` to keep backwards compatibility.

Fixes #14831
2017-05-02 20:37:03 -03:00
Claudio Sanches 9ae846ccad Get outdated plugins using get_plugin_updates()
plugins_api() does a query for each plugin in api.wordpress.org that can takes 15 seconds, what is bad when have a lot of installed plugins and causing "gateway timeout" issues in System Status page.

get_plugin_updates() have already all available updates saved in cache.

Fixes #14799
2017-05-02 19:04:26 -03:00
Claudio Sanches ed5877f395 Improve docblocks 2017-05-02 16:48:00 -03:00
Akeda Bagus 881929b9b3
Fix small typo in the docblock. 2017-04-29 13:52:14 +07:00