Commit Graph

20940 Commits

Author SHA1 Message Date
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
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
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
refael iliaguyev 8a155f2707 Replace grunt-autoprefixer with grunt-postcss 2017-05-04 00:41:10 +03:00
refael iliaguyev 54cc17109c load grunt autoprefixer 2017-05-04 00:15:01 +03:00
Claudio Sanches 421c9a3ba7 Introduced woocommerce_shop_order_search_results filter
Closes #14857
2017-05-03 18:14:41 -03:00
Claudio Sanches 819eebf6c3 Merge pull request #14855 from rodrigoprimo/remove-extra-space
Remove extra unnecessary space
2017-05-03 18:04:58 -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 c7072a59ff Merge pull request #14858 from woocommerce/fix/attributes-conflict
Fixed conflict between global attributes and custom attributes.
2017-05-03 17:35:52 -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
Rodrigo Primo 20b2ea58bd Remove extra unnecessary space 2017-05-03 14:06:18 -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 6ac86952bb Merge pull request #14798 from woocommerce/fix/typo
Fix small typo in the docblock.
2017-05-02 18:38:46 -03:00
Claudio Sanches ed5877f395 Improve docblocks 2017-05-02 16:48:00 -03:00
Claudio Sanches 61184d534a Merge pull request #14830 from javorszky/issue-14829
use yoda condition all incarnations of filter woocommerce_enable_order_notes_field do
2017-05-02 12:41:05 -03:00
Gabor Javorszky 248ff51bea use yoda condition all incarnations of filter do
Fixes #14829
2017-05-02 11:43:06 +01:00
Ryan Ray 0d727a8848 Update readme.txt 2017-04-30 21:16:37 -04:00
Akeda Bagus 881929b9b3
Fix small typo in the docblock. 2017-04-29 13:52:14 +07:00
Claudio Sanches ad09564ff3 Removed extra comment 2017-04-28 20:08:37 -03:00
Claudio Sanches 26a6dfa803 Applied wc_get_star_rating_html() to rating filter widget 2017-04-28 20:01:01 -03:00