Commit Graph

655 Commits

Author SHA1 Message Date
Yash Kapoor e4456144f9
Update wc-template-functions.php 2019-08-22 12:35:38 +05:30
Yash Kapoor bd6c7cfb13
Update wc-template-functions.php
Fixed spelling of woocommerce_gallery_thumbnail_size
2019-08-22 12:10:54 +05:30
Claudio Sanches 52ba85c977 Introduced filter to change default redirect url in wc_logout_url() 2019-07-31 20:35:10 -03:00
Jaden 83a3c2362a
Fix Missing Translation for Subtotal 2019-07-19 12:53:59 +00:00
Gerhard 6e4e818170 Introduce woocommerce_widget_shopping_cart_subtotal function and move minicart template subtotal to use it. New woocommerce_before_cart_collaterals, woocommerce_widget_shopping_cart_total and woocommerce_widget_shopping_cart_after_buttons actions for making the cart and mini cart templates more flexible without having to override it. 2019-07-14 19:27:42 +02:00
Gerhard Potgieter 9ca6dad11e
Merge pull request #23433 from justlevine/master
Preserve State field input classes when selecting a Country.
2019-07-10 15:31:39 +02:00
justlevine efb8b9af57
Added missing quote
Quote missing between `placeholder` and `data-input-classes` attributes.
2019-06-11 20:47:22 +03:00
Claudio Sanches c96ed877af
Merge pull request #23660 from gocodebox/master
add filter to allow disabling endpoint 404 behavior, per #23622
2019-05-10 12:50:29 -03:00
Thomas Patrick Levy 4e58b098e5 update filter 2019-05-09 15:49:03 -07:00
Thomas Patrick Levy 57bbcf94b7 add filter to allow disabling endpoint 404 behavior, per #23622 2019-05-08 17:35:28 -07:00
Rodrigo Primo 45c2c78ea2 Fix: parameter values should be converted back as well when building form fields
PR #23196 added a workaround to `parse_str()` limitation when dealing with full-stops, pluses, and spaces in the parameter key. This workaround involved temporarily replacing those three characters with placeholders before calling `parse_str()` and then replacing back to the original form. This commit fixes a bug in this logic that was replacing back only parameters keys and not parameters values.

For example, if the query string is `?query.parameter=foo.bar`, the resulting <input> field contained `foo{dot}bar`, instead of the expected `foo.bar`.
2019-04-26 13:58:27 -03:00
Mike Jolley 192fecc0d8 Remove filter only needs priority
Co-Authored-By: Dragoș Mocrii <dragosmocrii@users.noreply.github.com>
2019-04-24 13:54:12 +01:00
Mike Jolley 04e51191c4 Pass $class 2019-04-23 18:06:09 +01:00
Mike Jolley 246596dec0 Put the post_class back to avoid breaking bw compat. Append core classes on top 2019-04-23 18:04:20 +01:00
Dovid Levine 3ad9fb32be Add data-input-classes to state field 2019-04-22 19:18:48 +03:00
Mike Jolley 662af85bea cleanup and docs 2019-04-18 19:33:48 +01:00
Mike Jolley 7737fc5928 remove post_class and implement woocommerce_post_class 2019-04-18 19:27:00 +01:00
Mike Jolley fbaaa319dd Use global product if null 2019-04-18 17:25:13 +01:00
Mike Jolley b686150655
Merge pull request #23196 from woocommerce/fix/23195
Replace full stops before running through `parse_str`
2019-04-18 11:01:59 +01:00
Mike Jolley b1a811ca46 Replace spaces 2019-04-03 11:58:08 +01:00
Mike Jolley a66adf0829 Replace full stops before parse_str 2019-04-02 13:58:37 +01:00
Ben S c1a6cdb873
Format empty cart message as information notice 2019-03-26 18:35:21 +01:00
Rodrigo Primo 9574762e8b
Merge pull request #22915 from woocommerce/fix/22894
Add woocommerce_get_product_subcategories_cache_key filter
2019-03-07 16:49:17 -03:00
Mike Jolley 16a0a3e27e Update from master 2019-03-05 19:03:01 +00:00
Mike Jolley 7c9932da6d woocommerce_get_product_subcategories_cache_key filter 2019-03-01 10:55:11 +00:00
Mike Jolley 20eb503128 Add alt text to gallery thumbnail 2019-02-26 14:03:25 +00:00
Mike Jolley ffa230de90 Escape html entities before passing to WP/photoswipe 2019-02-20 11:49:55 +00:00
Mike Jolley afe219d854 Select an option vs state 2019-02-18 11:49:46 +00:00
Mike Jolley 377d79e175 Merge branch 'fix/21830' 2019-02-13 14:45:00 +00:00
Mike Jolley fb5f9c1ecb
Merge pull request #22690 from Tofandel/patch-1
The "for" attribute of a label for a radio input is invalid
2019-02-13 14:40:52 +00:00
Andrew Lazarus 11c16f35ab
Updated product loop title filter with esc_attr() 2019-02-13 15:07:07 +01:00
Andrew Lazarus aee5cf2bff
Added filter for product title classes within product loop 2019-02-12 13:37:02 +01:00
Mike Jolley 1efe7747a8 merge conflict 2019-02-08 13:08:55 +00:00
Mike Jolley 1743c13225
Merge pull request #22631 from woocommerce/fix/21677
WC Endpoint 404s
2019-02-08 13:05:49 +00:00
Mike Jolley 8404b644da
Merge pull request #22645 from woocommerce/update/21963
Add notice hash to store notice cookie
2019-02-08 13:05:03 +00:00
Adrien Foulon 8dc9a46c17
The "for" attribute of a label for a radio input is invalid
The main label of a radio supposedly targeting the first value of the radios contains only the value instead of theId_theValue which is the id of the radio
2019-02-08 02:02:44 +01:00
Mike Jolley b2c33b8e34 Merge branch 'master' into performance/slow-term-queries 2019-02-07 13:49:48 +00:00
Mike Jolley 889cf64ac4 Merge branch 'performance/wc-get-product-class' 2019-02-07 13:34:18 +00:00
nishitlangaliya f69ac18ccd fix: default value passed to sorting dropdown 2019-02-07 13:26:43 +05:30
Mike Jolley 4b485eba13 Fixed unit tests 2019-02-06 21:00:07 +00:00
Mike Jolley e604a3ae24 correct id without $post 2019-02-06 19:57:06 +00:00
Gerhard Potgieter b7971bd0dc
Merge pull request #22632 from woocommerce/fix/22552-screen-reader-ratings
Accessibility: Add a screen reader label for product rating star icons
2019-02-06 15:40:26 +02:00
Ron Rennick 7b5810d3da limit page 2 not showing products to shop showing subcategories 2019-02-04 13:52:06 -04:00
Mike Jolley 1928f34699 Add notice hash to store notice cookie
Closes #21963
2019-02-04 13:18:09 +00:00
Mike Jolley a5d62b83a8 Merge branch 'enhancement/woocommerce_display_product_attributes' 2019-02-04 11:25:13 +00:00
Mike Jolley 7093c652e7 Add localisation to new label 2019-02-01 17:13:41 +00:00
Mike Jolley a0f47fb429 404 on endpoints 2019-02-01 16:56:00 +00:00
Mike Jolley 5825a66a30 Cleanup method 2019-02-01 16:55:51 +00:00
Kelly Dwan a2d5d3dff7 Accessibility: Add a label for product rating star icons 2019-02-01 11:47:14 -05:00
Mike Jolley e3f2cad544 Remove escape 2019-02-01 16:10:14 +00:00