Commit Graph

17809 Commits

Author SHA1 Message Date
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
Mike Jolley 11689b244c Remove notices once only
Closes #12182
2016-10-26 17:24:35 +01:00
Rami Yushuvaev 0c1e531091 few more i18n updates (#12185)
* 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
2016-10-26 11:31:32 -02:00
Claudio Sanches c58940258a Updated $order->id to $order->get_id() 2016-10-25 22:46:36 -02:00
Rami Yushuvaev 59dc477a20 Direction characters (i18n, RLT, a11y) (#12177)
* RTL+i18n: product title stricture as translation string to allow RTL languages to change `&rarr;` TO `&larr;`

* i18n: move the `&rarr;` into the translation string to allow RTL languages to translate to `&larr;`

* RTL: product filter indent using `&rarr;` and `&larr;` chars

* a11y: remove `&larr;` char, it's a bad accessibility practice to use visual indicators to point to menus

* a11y: remove `&larr;` char, it's a bad accessibility practice to use visual indicators to point to menus
2016-10-25 21:34:50 -02:00
Claudio Sanches ad349ad89c Restored context for From: price string 2016-10-25 15:04:59 -02:00
Claudio Sanches 923790dbc7 Merge pull request #12171 from woocommerce/dashboard-widget-permissions-12168
[2.6] Split method up and check permissions
2016-10-25 12:46:03 -02:00
Mike Jolley db922fb27e Filter and remove empty attributes
Closes #12147
2016-10-25 12:42:31 +01:00
Mike Jolley 6c80a08174 [2.6] Split method up and check permissions
Closes #12168
2016-10-25 11:43:44 +01:00
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Vishal Kakadiya 06f206c49b Changed file name from 'class-' to 'abstract-' (#12159)
* Changed file name from 'class' to 'abstract'

* Changed file name from 'class' to 'abstract'

* Changed file name from 'class-' to 'abstract-'
2016-10-24 21:49:22 -02:00
Claudio Sanches b6ee13be67 Merge pull request #12148 from rasmusbe/patch-2
Only print js for free shipping fields in admin
2016-10-24 21:47:42 -02:00
Rami Yushuvaev f27499b501 i18n Improvements (#12078)
* use %s in translations strings

* merge simmilar error strings

* i18n: use sprintf() in translation strings to make them easier to understand for translators

* i18n: remove sprintf() function from translation string with unused parameter

* i18n: move colons and brackets into the translation strings

* revert comit addaa5d

* Fix broken sprintf()

* i18n: move colons into the translation strings on error messages

* Fix Travis-CI Error: operator must be surrounded by a single space
2016-10-24 08:33:32 +01:00
Rami Yushuvaev 4375618438 i18n context functions (#12156)
* Replace some context function with translation comments

* Remove two more context function

* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00