Claudio Sanches
b63cc12d2b
Prevent escape twice
2019-07-09 16:23:53 -03:00
Claudio Sanches
62a32e41d0
Avoid extra escape
2019-07-09 16:23:09 -03:00
Claudio Sanches
c1a3c65e34
Merge branch 'master' into update/23390
2019-07-09 16:15:07 -03:00
parmarhardip
5d540037d7
I have change escape
2019-05-10 07:31:11 +05:30
parmarhardip
7b2a331213
remove a phpcs ignore rule.
2019-05-09 17:42:08 +05:30
parmarhardip
d56d24f8dd
#23649 I have added the filter into the out of stock message in variable.php file
2019-05-08 17:13:25 +05:30
Mike Jolley
b37d58c934
phpcs in touched files
2019-04-23 17:04:11 +01:00
Mike Jolley
ff61a4ab73
__ -> esc_html__
2019-04-23 16:15:05 +01:00
Mike Jolley
9d5eb07373
_e -> esc_html_e
2019-04-23 15:53:58 +01:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
Andrew Lazarus
07a8183f2a
Hard coded class now filterable
...
Ability to add library classes to price instead of overwriting template
2019-02-15 09:49:29 +01:00
Mike Jolley
889cf64ac4
Merge branch 'performance/wc-get-product-class'
2019-02-07 13:34:18 +00:00
Mike Jolley
a5d62b83a8
Merge branch 'enhancement/woocommerce_display_product_attributes'
2019-02-04 11:25:13 +00:00
Mike Jolley
c0b9491b1e
Pass product objects to wc_get_product_class to avoid reloading the product object
2019-01-30 16:02:09 +00:00
Gerhard
574e98060d
Bump template versions to 3.6.0
2019-01-22 15:18:15 +02:00
Gerhard
98948a2faf
PHPCS fixes
2019-01-17 08:32:42 +02:00
Gerhard
f3d9eeeef3
Introduce wc_reviews_enabled, wc_review_ratings_enabled and wc_review_ratings_required as helper functions and update all places where options are accessed directly.
2019-01-17 08:04:57 +02:00
Mike Jolley
2ea7e4fb6a
woocommerce_display_product_attributes filter
2019-01-16 12:25:19 +00:00
Mike Jolley
2724fd76cd
Merge pull request #22017 from Bradley-D/feature/wpcs-inline-php
...
WPCS: inline PHP semicolon and spacing
2019-01-07 12:47:08 +00:00
Bradley Davis
e97204a483
Removed @author tag from docbloc in the template files
2018-12-06 12:13:39 -02:00
Bradley Davis
7481af8614
[ UPDATE ] inline PHP semicolon and spacing
2018-11-22 20:37:14 +10:00
Rodrigo Primo
9b094fc74d
Use $product->get_image_id() instead of has_post_thumbnail()
...
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032
and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Rodrigo Primo
3c76b4992b
phpcs fixes
2018-10-18 09:11:26 -03:00
pierrebuet
4bed2ddeea
Correct spaces
2018-09-24 21:45:55 +02:00
pierrebuet
db3270a390
Show the right size of placeholder image on single product page
...
in the template for the product image, wc_placeholder_img_src() returns the thumbnail size of the image.
In order to use 'woocommerce_single' as size, the function needs to be corrected, so the function use the size and not a calculated array of sizes. wc_get_image_size doesn't return an height for the woocommerce_single size. Further and since the image sizes are declared, there is no need to translate the size to an array.
2018-09-21 19:33:04 +02:00
Gerhard Potgieter
87cfc646f4
Fix PHPCS errors ( #21009 )
2018-08-08 11:19:36 +02:00
Shabnam
722c21066f
changed version to 3.5.0 and adjusted the curly brace
2018-08-08 13:27:54 +06:00
Shabnam
4affbff47e
removed unnecessary php tag [point 2] and removed a return false statement[point 3]
2018-08-04 19:51:25 +06:00
Mike Jolley
301e9339a9
Move selected logic to function
2018-05-29 14:31:50 +01:00
James Kemp
16785b33ab
Do not escape HTML for attribute label
2018-05-24 15:29:53 +01:00
Mike Jolley
6e0d0fe6ed
Simplify code in template
2018-05-22 10:53:33 +01:00
Mike Jolley
7fc75897cd
Use GET in external product form
2018-05-18 22:16:59 +01:00
claudiulodro
2bd5feb51d
Rename variable to prevent name collision
2018-05-08 14:14:32 -07:00
Claudio Sanches
933bcc32c3
Merge branch 'master' into fix/19620
2018-04-17 12:45:20 -03:00
claudiulodro
7342807674
Update comments
2018-04-16 11:17:39 -07:00
Mike Jolley
2983753809
Update action placement so all product types are consistent.
...
Also fixes phpcs.
2018-04-10 11:57:49 +01:00
Mike Jolley
6dff553548
Make markup in external product add to cart form mirror simple products with button/form elements.
2018-04-10 11:45:31 +01:00
Claudio Sanches
1e58c3f2a0
Replaced post_class() to wc_product_class()
2018-04-06 14:03:38 -03:00
Claudio Sanches
9ab58dde47
Merge branch 'master' into fix/incorrect-escaping
2018-03-28 14:32:51 -03:00
Claudio Sanches
376e51c9f1
Fixed PHPCS violations
2018-03-28 14:30:43 -03:00
Claudiu Lodromanean
cdb8cf86af
Merge pull request #19530 from woocommerce/add/escaping-to-publish-date
...
Add escaping to publish date
2018-03-27 12:12:53 -07:00
Jonathan Belcher
435337c3e0
Bump version Number
2018-03-27 11:51:47 -04:00
Jonathan Belcher
b039e40fed
Fixes stray space in tabbing
2018-03-26 13:51:24 -04:00
Jonathan Belcher
97c591a5e5
Add escaping to piblish date
2018-03-26 13:44:16 -04:00
Jonathan Belcher
47a82fbb3d
Fixes incorrect escaping
2018-03-26 13:37:44 -04:00
Gerhard Potgieter
fb76e1dd7d
Revert tamplate version to 3.4.0
2018-03-07 12:53:27 +02:00
Gerhard Potgieter
dce123bf23
Bump template version
2018-03-07 11:59:10 +02:00
Gerhard Potgieter
11c85c7b8d
Do not pass the attribute name coming from the $_REQUEST variable through sanitize_title when working out the selected attribute as non english chars result in non matching checks. wc_dropdown_variation_attribute_options takes care of sanitization already.
2018-03-07 10:47:18 +02:00
Claudio Sanches
2d85b5adde
Merge pull request #18956 from R33D3M33R/patch-1
...
Convert HTML comments to PHP, remove empty lines
2018-02-20 16:19:41 -03:00
Mike Jolley
90717295cf
Remove globals/add woocommerce_add_to_cart_form_action filter
2018-02-20 11:12:29 +00:00