Commit Graph

17772 Commits

Author SHA1 Message Date
Justin Shreve 1797c76a14 Implement WC_Data_Store and related code & tests. 2016-11-08 01:39:47 -08:00
Justin Shreve cd2a4e89b2 Merge pull request #12256 from woocommerce/rest-api-remove-refund-if-failed
[REST API] Delete refund if payment gateway API fails
2016-11-08 00:49:04 -08:00
Claudio Sanches 24efdf7ec2 Updated tests readme.md example URL #12268 2016-11-07 18:00:00 -02:00
Claudio Sanches 35f8386773 Merge pull request #12268 from renemeye/master
Fixed a referenced line number in Readme.
2016-11-07 16:05:41 -02:00
Claudio Sanches 48013fa2c3 Minify 2016-11-07 15:47:05 -02:00
Claudio Sanches e4775f2acc Merge pull request #12266 from Dev49net/master
Added 3 new price formatting filters
2016-11-07 14:34:50 -02:00
René Meye e2399fde2a Fixed referenced line number in Readme. 2016-11-07 08:31:47 +01:00
Daniel 78b25b205a Added 3 new price formatting filters
Added filters to wc_get_price_thousand_separator(),
wc_get_price_decimal_separator() and wc_get_price_decimals(). Described
in Issue #12265
2016-11-06 21:55:36 +01:00
Claudio Sanches 99bc154400 Merge pull request #12261 from ramiy/a11y-order-notes
a11y: make order notes metabox accessible
2016-11-05 16:33:45 -02:00
Rami Yushuvaev 402216a553 a11y: add `role="button"` to delete note links 2016-11-05 19:12:04 +02:00
Rami Yushuvaev e71cae8d8f a11y: make order notes metabox accessible 2016-11-05 18:56:03 +02:00
Rami Yushuvaev a81a988628 Merge pull request #2 from woocommerce/master
Merge Updates
2016-11-05 00:40:02 +02:00
Claudio Sanches 0c3b0f57e9 [REST API] Delete refund if payment gateway API fails, closes #12248 2016-11-04 18:06:15 -02:00
Claudio Sanches 8adfe15d8f Removed extra quote from variations attribute dropdown, closes #12251 2016-11-04 17:37:54 -02:00
Claudio Sanches 4982e91e2c Fixed hardcoded strings in woocommerce/single-product/photoswipe.php template 2016-11-04 17:31:34 -02:00
Claudio Sanches f7b2af7148 Merge pull request #12252 from ramiy/a11y-aria-label
a11y: Replace "title" attributes with "aria-label" where needed
2016-11-04 17:26:30 -02:00
Rami Yushuvaev d85075dcb0 a11y: replace `title` attributes with `aria-label`, for better accessibility 2016-11-04 17:41:51 +02:00
Rami Yushuvaev 9469673c05 a11y: remove unneeded `title` attributes 2016-11-04 17:40:15 +02:00
Rami Yushuvaev 4f6aff374c Merge pull request #1 from woocommerce/master
Merge Updates
2016-11-04 16:01:49 +02:00
Claudio Sanches fa7775254b REST API - Allow remove product category image (#12247)
* Allow remove product category images

* Allow remove sending an empty array too
2016-11-04 10:19:34 +00:00
Claudio Sanches f85bb56cb1 Less code on the fly inside ld+json 2016-11-03 15:00:57 -02:00
Claudio Sanches ed4e7a9e73 Merge pull request #12215 from shivapoudel/dub-form-row-class
Fix - Duplicate form-row class in woocommerce form field
2016-11-03 14:18:46 -02:00
Claudio Sanches 2de494e105 Merge pull request #12219 from ramiy/i18n-translation-comments
i18n: add translators comments
2016-11-03 13:24:35 -02:00
Claudio Sanches 8db2661c25 Merge pull request #12243 from woocommerce/paid-statuses-12238
Use all paid statuses in $customer->get_total_spent()
2016-11-03 13:22:40 -02:00
Zachary 09f53ce778 Add counties for Republic of Ireland, change Postcode label to Eircode (#12180) 2016-11-03 11:48:14 +00:00
Lee Willis 237ebc0e95 Filter the (JSON+LD) offers separately from the overall product data (#12234)
* Filter the offers separately from the overall product markup

* Rename filter as per feedback on the PR
2016-11-03 11:47:45 +00:00
Ismael Ramon 024947d65b Add 'woocommerce_calc_shipping_tax' filter (#12242)
Filter `calc_shipping_tax` function the same way as `calc_tax`.
2016-11-03 11:47:12 +00:00
Shiva Poudel b32c7b89dc Fix - Photoswipe action button background style (#12209)
* Fix - Photoswipe action button background style

* Fix - Do not scroll to top after closing PhotoSwipe

* Tweak - Move photoswipe style overides to WooCommerce stylesheet

Closes #12200
2016-11-03 11:35:55 +00:00
Sabbir Ahmed 0bf17455ff Variation pagination problem fixed #12239 (#12240) 2016-11-03 11:28:58 +00:00
Mike Jolley 32e814eef1 Use all paid statuses in $customer->get_total_spent() 2016-11-03 11:27:03 +00:00
Mike Jolley 5605d2cc48 Correct the docblock
Closes #12217
2016-11-02 19:15:06 +00:00
Mike Jolley c9f0cd8e8c [2.6] Fix backwards hide empty code
Closes #12233
2016-11-02 18:59:13 +00:00
Rami Yushuvaev 55f08d62ae add translators comments 2016-10-29 23:03:28 +03:00
Rami Yushuvaev cb0b487433 Fix travis error 2016-10-29 20:51:23 +03:00
Rami Yushuvaev 93d55dade9 add translators comments 2016-10-29 20:32:38 +03:00
Rami Yushuvaev e705102b6b Fix travis error 2016-10-29 16:13:46 +03:00
Rami Yushuvaev 9c9f165448 Fix travis error 2016-10-29 16:10:55 +03:00
Rami Yushuvaev 4e36ce7425 add translators comments 2016-10-29 15:57:09 +03:00
Rami Yushuvaev 8ab8bef52e add translators comments 2016-10-29 13:51:56 +03:00
Rami Yushuvaev 6cc301e58c add translators comments 2016-10-29 13:16:03 +03:00
Claudio Sanches 237c45f947 Merge pull request #12203 from hereswhatidid/patch-1
Add $load_address to 'woocommerce_my_account_edit_address_title'
2016-10-28 23:02:57 -02:00
Shiva Poudel 74a0bbfc71 Fix - Duplicate form-row class in woocommerce form field 2016-10-28 23:59:28 +05:45
proArtex 8798ee4632 Removed redundant condition (#12210)
Exception object cannot be empty()
2016-10-28 16:53:54 +01:00
Claudio Sanches 4a1d5d3b0c Use Order CRUD to save admin order data (#12181)
* Fixed downlodable permissions while updating orders.

- Fixed undefined $wpdb fatal error
- Fixed how to update permissions when updated the billing_email

cc @mikejolley

* Use order CRUD to update admin order data

* Updated WC_Meta_Box_Order_Data::save() params and updated docblocks

* Missing period

* Handle cache and status on CRUD side
2016-10-28 10:52:01 +01:00
Gabe Shackle f161278254 Add $load_address to 'woocommerce_my_account_edit_address_title'
Add $load_address to the 'woocommerce_my_account_edit_address_title' filter so that scripts can determine which address is being edited. Currently there is no obvious way to determine what address is being edited if it is not the 'billing' or 'shipping' built-in addresses. By adding $load_address we can use that to detect the name of the address being edited and display the corresponding title.
2016-10-27 19:39:56 -05:00
Claudio Sanches 7c28cb4d27 Merge pull request #12199 from woocommerce/product-checkboxes
Improved product type options.
2016-10-27 16:04:16 -02:00
Claudio Sanches fa0c710802 i18n <a> links, closes #12195 2016-10-27 15:36:24 -02:00
Claudio Sanches 9b0b4be843 Improved product type options, closes #12183 2016-10-27 15:06:33 -02:00
Rami Yushuvaev fe8fa477e8 Fix test error (#12193)
* i18n: simpler translation strings

* i18n: simpler translation strings

* i18n: readble printf(), and moving the %s placeholder to `%s product`

* i18n: make string translatable and remove the HTML tags

* i18n: avoide using HTML tags in translatino strings

* i18n: move the colon into the translation string and use %s placeholder for the IP

* i18n: use sprintf() on field-validation translation strings, and unify those strings

* i18n: move colons into the translation strings

* i18n: use `%s` placeholder as the site name in "Powered by WooCommerce" string

* i18n: use `%s` placeholder for min and max price

* i18n: rewrite the translation strings printf()

* Fix test error
2016-10-26 19:58:46 -02:00
Rami Yushuvaev 0be4db2261 more i18n updates (#12189)
* i18n: simpler translation strings

* i18n: simpler translation strings

* i18n: readble printf(), and moving the %s placeholder to `%s product`

* i18n: make string translatable and remove the HTML tags

* i18n: avoide using HTML tags in translatino strings

* i18n: move the colon into the translation string and use %s placeholder for the IP

* i18n: use sprintf() on field-validation translation strings, and unify those strings

* i18n: move colons into the translation strings

* i18n: use `%s` placeholder as the site name in "Powered by WooCommerce" string

* i18n: use `%s` placeholder for min and max price

* i18n: rewrite the translation strings printf()
2016-10-26 14:35:52 -02:00