Commit Graph

665 Commits

Author SHA1 Message Date
Rodrigo Primo 2c74233be2 Fix WordPress.WhiteSpace.DisallowInlineTabs violations
This commit fixes all violations of the WordPress.WhiteSpace.DisallowInlineTabs sniff automatically using phpcbf.
2019-12-20 14:27:07 -03:00
Claudio Sanches 4ea81923da
Merge pull request #24935 from woocommerce/fix/24845-wpcom-customizer
Do not run send_frame_options_header when on the customizer
2019-12-05 20:28:55 -03:00
Claudio Sanches 0686e6f1cd
Merge pull request #25000 from woocommerce/feature/pay-button-support
Initial support for "pay button"
2019-12-04 16:02:02 -03:00
itzmekhokan 0716648c28 woocommerce_upsells_display order filter added 2019-11-11 22:35:32 +05:30
Claudio Sanches fdd391e10e Introduced wc_get_pay_buttons() function 2019-11-07 17:23:38 -03:00
Gerhard 0cda53580f Do not run send_frame_options_header when on the customizer 2019-10-30 15:37:04 +02:00
Vedanshu Jain cb12010627
Merge pull request #24295 from woocommerce/fix/24096
Remove %20 from fields in External Products form
2019-10-03 00:15:52 +05:30
Claudio Sanches 830553accd Fixed coding standards 2019-10-02 11:21:19 -03:00
Marco Almeida 1df96da7f8
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:49:11 +01:00
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 843df9c8b9 Remove %20 from strings when building a form from query strings 2019-08-01 17:24:32 -03:00
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