Commit Graph

17835 Commits

Author SHA1 Message Date
Mickael Desgranges 7d0139e735 add argument on woocommerce_shipping_rate_label (#12075)
add $this argument for woocommerce_shipping_rate_label.
That may be veryhandy for modifying for a label with a specific method_id before the rate price was added.
2016-10-12 17:06:51 +01:00
Claudio Sanches 62aec00a59 Merge pull request #12071 from woocommerce/show-in-rest
Get media working when assign to product
2016-10-12 11:23:03 -03:00
Rami Yushuvaev b8f2f29d5a Remove deprecated admin screen icons (#12074) 2016-10-12 10:57:24 -03:00
Mike Jolley 7ab8c1e35f Get media working when assign to product
Fixes #11760
2016-10-12 13:02:07 +01:00
Manos Psychogyiopoulos 4658245625 Revise the stock + stock status saving logic (#11858)
* use set_stock to reset stock meta when not managing stock

Ensures that the 'woocommerce_{ variation | product }_set_stock' hooks fire to refllect the fact that stock becomes infinite.

* track state of Manage Stock? option

* quick/bulk edit fixes

* reapply quick and bulk edit fixes

* improve conditional reset logic that prevents actions from *_set_stock actions from firing with every save
2016-10-12 12:51:40 +01:00
Mike Jolley a426004975 Fixed numbered properties 2016-10-12 12:02:51 +01:00
Mike Jolley 705dc18991 Merge branch 'pr/12064' 2016-10-12 11:54:40 +01:00
Mike Jolley a42d021807 We can still include empty meta here - change not needed 2016-10-12 11:54:34 +01:00
Mike Jolley e6d4729453 Code standards 2016-10-12 11:54:21 +01:00
Mike Jolley a7e531e26d Made wc_get_wildcard_postcodes return the orignal postcode plus * since wildcards should match empty strings too.
Fixes #12016
2016-10-12 11:52:39 +01:00
Mike Jolley 0829200299 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	includes/admin/class-wc-admin-help.php
2016-10-12 11:18:27 +01:00
Mike Jolley d46a0c0f2b Merge branch 'pr/12068' 2016-10-12 11:17:24 +01:00
Rami Yushuvaev eae583fc3c Update wp.org plugin directory links 2016-10-12 11:16:58 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Claudio Sanches 77722ecbe3 Fixed missing text domains (#12066) 2016-10-12 11:05:37 +01:00
Claudio Sanches dc87a07baa Merge branch 'ramiy-i18n/similar-strings' 2016-10-11 15:57:21 -03:00
Rami Yushuvaev 65cf1bcb6f Merge branch 'master' of https://github.com/ramiy/woocommerce into i18n/similar-strings 2016-10-11 21:14:56 +03:00
Rami Yushuvaev 39bdb3ee2e Merge pull request #2 from woocommerce/master
Merge updates
2016-10-11 21:09:14 +03:00
Manos Psychogyiopoulos 75b3042d9c [2.6] Variations script errors when 'empty' option is omitted (#11944)
* fix variation script malfunctioning when show_option_none arg is set to false

* add minified version
2016-10-11 18:26:08 +01:00
Mike Jolley 50544233f5 Wrap layered nav term in filter
Closes #11922
2016-10-11 18:23:25 +01:00
Mike Jolley ed37f592bf Set custom_attributes earlier 2016-10-11 18:08:02 +01:00
Mike Jolley c2958bcaa6 Remove unused autocomplete/maxlength 2016-10-11 18:03:27 +01:00
Mike Jolley 9aea350628 Merge branch 'pr/11906' 2016-10-11 17:51:45 +01:00
Mike Jolley d4a7490ff0 Simplify autofocus code 2016-10-11 17:51:05 +01:00
Mike Jolley 2a51a76e4e Merge branch 'pr/12056' 2016-10-11 17:36:40 +01:00
Mike Jolley a7ccc38096 Define classnames to choose what gets hidden 2016-10-11 17:36:34 +01:00
Mike Jolley cfa2ee3605 Round the totals
Closes #11803
2016-10-11 15:56:18 +01:00
Claudio Sanches f3a45aa388 Merge pull request #12063 from woocommerce/hide-template-select-box
Add notice and hide templates
2016-10-11 11:53:41 -03:00
Nirav Mehta a0c3c29005 Allow extending customer available downloads (#12019)
* Fix: Escape HTML entities during output of coupon description on admin page

* Added filter for customer available downloads
2016-10-11 15:36:03 +01:00
Claudio Sanches 81dc55ad40 Merge pull request #12062 from danielhuesken/master
Rest-API fix action not called if no core attribute param updated
2016-10-11 11:34:01 -03:00
Mike Jolley 26c7220b40 Merge pull request #12061 from woocommerce/add/toggle-input
Add styling for the toggle input type
2016-10-11 15:32:09 +01:00
Lucas Stark 3e11e168cd Only display price meta when price is not empty 2016-10-11 09:15:45 -04:00
Claudio Sanches d627d7f764 Created function to get the catalog visibility options 2016-10-11 14:11:37 +01:00
Mike Jolley 3b07b4fc7b Readme 2016-10-11 12:49:00 +01:00
Mike Jolley cee978e6f7 Add notice and hide templates 2016-10-11 12:44:54 +01:00
Daniel Hüsken 9b12df381e Rest-API fix action not called if no core attribute param updated 2016-10-11 13:40:54 +02:00
James Koster 9bd88f5677 Add styling for the toggle input type 2016-10-11 12:33:33 +01:00
Mike Jolley ed20d545a7 Merge pull request #12053 from woocommerce/shipping-zone-ui
Shipping zone ui
2016-10-11 11:54:12 +01:00
Mike Jolley 321a72b957 Add missing comma 2016-10-11 11:53:47 +01:00
Mike Jolley 2396c0e18e Fix new zone 2016-10-11 11:53:07 +01:00
Mike Jolley d7f2d29ddc Add row actions back 2016-10-11 11:46:23 +01:00
Rami Yushuvaev 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +03:00
Rami Yushuvaev 4dbed6dd40 Merge pull request #1 from woocommerce/master
Merge updates
2016-10-11 01:32:42 +03:00
Patrick Rauland 0df389590b conditionally showing stock settings. Fixes #12055 2016-10-10 15:18:26 -06:00
Mike Jolley 8a510994ef Merge branch 'master' into shipping-zone-ui
# Conflicts:
#	assets/css/admin.css
2016-10-10 18:45:54 +01:00
Mike Jolley 3d695afa89 Fix delete 2016-10-10 18:45:20 +01:00
Mike Jolley 2d270fb405 Fix saving and rest of world 2016-10-10 18:41:07 +01:00
Mike Jolley 160049eddd Remove save button from zones screen. 2016-10-10 17:50:29 +01:00
Mike Jolley 93b35e1790 Fix sorting 2016-10-10 14:45:15 +01:00
Mike Jolley 96f05bb49a Add woocommerce_sort_by_subtotal_callback filter
Closes #11973
2016-10-08 13:22:52 +01:00