Commit Graph

532 Commits

Author SHA1 Message Date
Claudio Sanches c185d6b6d3 Merge branch 'fix/19620' of github.com:woocommerce/woocommerce into fix/19620 2018-04-17 12:54:35 -03:00
Claudio Sanches a7ce4ff6d3 Escape all at the same time 2018-04-17 12:54:01 -03:00
Claudio Sanches 933bcc32c3
Merge branch 'master' into fix/19620 2018-04-17 12:45:20 -03:00
Claudio Sanches f18220a009 Updated unit tests 2018-04-17 12:31:14 -03:00
Claudio Sanches 54b6174b34 Fixed $post when using product instance 2018-04-17 12:21:56 -03:00
Claudio Sanches c19836b0e4 Moved espace to wc_product_class 2018-04-17 12:18:21 -03:00
Claudio Sanches 627292d627 Include categories and tags by default 2018-04-17 12:14:18 -03:00
Mike Jolley 8a19c5962b Further simplified customiser options 2018-04-16 17:56:44 +01:00
Mike Jolley 6c14ad9a88 More wording tweaks 2018-04-11 17:12:48 +01:00
Mike Jolley 592605f071 Wording 2018-04-11 16:45:41 +01:00
Mike Jolley cdd5b25bd8 Privacy page and default text handling 2018-04-11 16:41:39 +01:00
Claudio Sanches 60ad91266d Fixed wrong variable 2018-04-06 15:08:11 -03:00
Claudio Sanches b3bf245929 Introduced new wc_get_product_class() and wc_product_class functions 2018-04-06 13:58:59 -03:00
Mike Jolley 212a8a180f Back compat 2018-04-06 11:51:03 +01:00
Mike Jolley 3140a0fb62 More customistion options for terms and conditions. 2018-04-06 11:43:30 +01:00
Mike Jolley 3bf567279b Improve default appearance of descriptions so they toggle on focus and support HTML. 2018-04-05 16:56:00 +01:00
Mike Jolley 3a6c3e002b Add option to choose if the checkout marks either required or optional fields, and style these options. 2018-04-05 14:12:59 +01:00
Peter Fabian 80dc183880 Use nbsp to separate * denoting required fields. 2018-04-04 16:45:40 +02:00
Peter Fabian c2e27919ce Replaced array_key_exists with isset test 2018-03-28 11:19:03 +02:00
Peter Fabian 86f1b3701f Tag stripped outside template
Stripping only affects aria-label attribute now.
2018-03-27 17:19:49 +02:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Claudio Sanches 15989622df Fixed PHP warning on woocommerce_catalog_ordering()
This fixes the follow warning:

> PHP Warning:  array_key_exists(): The first argument should be either a string or an integer in includes/wc-template-functions.php on line 1012

When an option doesn't exists is returned `false`, just setting a default value to fix the issue.

This issue should happen in new installations of WooCommerce 3.3 when no
order is defined on the customizer.
2018-03-16 15:13:21 -03:00
Mike Jolley 6cc5f2e171
Merge pull request #19140 from woocommerce/fix/subcategory-cache
Clear subcategory cache
2018-03-16 14:08:58 +00:00
Mike Jolley d052b2ee46 cache per parent to avoid large caches 2018-03-13 19:00:08 +00:00
Claudiu Lodromanean c38e0e69e9
Merge pull request #19376 from woocommerce/fix/19362
Correctly handle default ordering on the search page
2018-03-13 10:39:59 -07:00
Mike Jolley 1dbf1bc1d8 add general woocommerce_form_field filter 2018-03-13 14:30:19 +00:00
Mike Jolley e4e581c2ef Correctly handle default ordering on the search page
Fixes woocommerce_catalog_ordering function and closes #19362.
2018-03-13 10:43:58 +00:00
Mike Jolley 48303278f6
Merge pull request #19373 from nishitlangaliya/issue-19323
missing single quote added
2018-03-13 09:59:55 +00:00
nishitlangaliya 4b4fd3931e missing single quote added 2018-03-13 11:15:43 +05:30
Claudiu Lodromanean 4fbd01f003
Merge pull request #19288 from woocommerce/fix/19210
Introduce woocommerce_product_loop helper for loops
2018-03-12 10:50:25 -07:00
nishitlangaliya 8fa7a7695a Add Filter to woocommerce_output_product_categories 2018-03-12 16:09:00 +05:30
Mike Jolley 6d76cb71fd Introduce woocommerce_product_loop helper 2018-03-07 12:54:00 +00:00
Mike Jolley b34e163bd5 No js for all the themes. 2018-03-07 11:44:41 +00:00
Mike Jolley 4bce7b0223 Use single cache for hierarchy 2018-02-28 18:24:03 +00:00
Gerhard Potgieter c8642f0da7 PHPCS fixes 2018-02-23 10:16:22 +02:00
Gerhard Potgieter c13dee6fb3 Add page 1 to check when displaying shop page content. 2018-02-23 10:14:59 +02:00
Mike Jolley 3353d80ecd wc_get_loop_class; force columns to be a minimum of 1 2018-02-22 15:44:28 +00:00
Mike Jolley 380ee9a13f
Merge pull request #18536 from woocommerce/update/17908
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-02-22 12:19:11 +00:00
Mike Jolley 03a1906706 Post image is enough 2018-02-21 17:21:02 +00:00
Mike Jolley 8d1408fa04 Add WP classes to image gallery 2018-02-21 17:21:02 +00:00
Mike Jolley 280ca3757e wc_get_gallery_image_html checks 2018-02-13 19:18:13 +00:00
Mike Jolley 2b36b5f49f Main image should be larger. 2018-02-13 11:16:42 +00:00
Mike Jolley ebb246d9d3 wc_get_gallery_image_html helper function 2018-02-13 11:16:42 +00:00
Mike Jolley 830a2cb5a5 Don't prepend cats for regular shortcodes 2018-02-08 17:37:56 +00:00
Mike Jolley 974ff71129
Merge pull request #18747 from woocommerce/fix/woocommerce_content
Was missing  wc_get_loop_prop check like the main archive
2018-02-01 14:34:25 +00:00
Mike Jolley add3ca3bea This removes pagination and products from display for themes not using wc_get_loop_prop in their product loops. 2018-02-01 14:31:00 +00:00
Mike Jolley 00d16dce0e Was missing wc_get_loop_prop check like the main archive 2018-02-01 13:22:50 +00:00
Mike Jolley fc3bf3edf2 Moved this below query to prevent subcategories display mode also showing products. 2018-01-31 21:24:14 +00:00
claudiulodro cbaa8831d5 Merge master and resolve conflicts 2018-01-31 11:24:21 -08:00
Mike Jolley e6f54912ee Merge branch 'master' into fix/18680 2018-01-31 17:56:46 +00:00