Commit Graph

64 Commits

Author SHA1 Message Date
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Claudio Sanches 7d9d091767 Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
Claudio Sanches 1fe6e70586 Fixed where the global $product is load in the products reviews template 2016-07-08 23:57:45 -03:00
Mike Jolley 2108722027 Do not unset comment_notes_before
Keeps the notice intact about not publishing email addresses.
2016-06-02 09:59:52 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
James Koster 77e78838eb reviews title - wrap product title in span
Also adds a class to there reviews wrapper and title
2016-04-05 15:41:29 -05:00
James Koster b26941309c Adds `required` attribute to required rating fields. closes #10339
Also changes the email input type to `email`.

Unfortunately wp core adds `novalidate` to the opening form tag and I
can’t see an easy way to change that, so this won’t do anything for
now. cc @mikejolley
2016-03-07 16:14:01 +00:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Nicola Mustone ef3410ea2e format text for better understanding 2015-11-16 12:39:44 +01:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
Claudio Sanches 2cc7fcfa3f Fixed missing textdomains 2015-07-13 11:03:03 -03:00
Mike Jolley 10e8210871 Link to account page to login to make reviews
Closes #8155
2015-05-26 17:49:08 +01:00
Tamara Zuk 7eaae2d561 Fix average product rating when ratings are not required
If ratings are not required, the total rating count was counting all
reviews which skewed the average rating. In other words, reviews with
no rating were counted as a “zero” rating in the average rating
calculation. This bug was introduced in
83a457b29c which provided a fix for #6839.

This change introduces a new product method `get_review_count()` which
can be used to accurately calculate the total number of reviews for a
product. Some instances of `get_rating_count()` were replaced with
`get_review_count()` where appropriate. Additionally, the
`single-product/rating.php` template was adjusted to display the
correct number of customer reviews and ratings in rich snippets. I’ve
also included the `bestRating` rich snippet detailed
[here](http://schema.org/AggregateRating). The version number was
adjusted to 2.3.2 on that template as I think this is a larger change.
2015-02-11 17:55:16 -05:00
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Geert De Deckere 24d588544b Removed unused global $woocommerce variable from the templates
The WC() function is to be used since v2.1
2014-08-17 22:29:51 +02:00
Mike Jolley af70da5ebb Remove nonce from comment form to prevent issues with caching 2014-04-08 09:37:01 +01:00
splashingpixels 1e998f776e template coding standard fixes 2014-04-07 19:29:39 -07:00
James Koster 2b8ef5101f review pagination. closes #4629 2014-02-05 12:40:15 +00:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -08:00
Coen Jacobs 1663eafb68 Customer functions woocommerce to wc refactor 2013-11-25 13:52:53 +01:00
Mike Jolley 19fcf30a66 Option to limit reviews to purchasers. Closes #4021 2013-10-31 17:37:36 +00:00
Mike Jolley b4d1c764d5 Move average rating outside of hidden tab. Closes #3867. 2013-10-31 16:26:20 +00:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +00:00
James Koster 1fbb6249ff Replaced → / ← on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00:00
Mike Jolley a5d71a8113 Fix for submitting comments 2013-09-24 11:48:42 +01:00
Gregory K c401ac98e7 Use get_the_title() instead of $post->title, because there could be 'the_title' filters 2013-09-23 19:10:14 -04:00
Mike Jolley 9f1c14c682 Tidied comment styling and only show stars if set Closes #2906. 2013-07-31 09:44:28 +01:00
Mike Jolley efb7c98067 woocommerce_product_review_list_args 2013-06-18 11:02:06 +01:00
Mike Jolley 1e94bbc990 Review nonce. Closes #3324. 2013-06-14 16:15:26 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Coen Jacobs ef2edd5de7 Merge pull request #3288 from woothemes/core-class-refactor
Further core class refactor
2013-06-11 02:48:55 -07:00
claudiosmweb 414b971907 fixed the noreviews L10n 2013-06-10 03:51:43 -03:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Tiago Noronha 9a37a01bc9 Prevents 'undifined' from showing up in Lightbox 2013-05-10 11:37:55 +01:00
James Koster 0e639c47fb Disabled keyboard shortcuts in prettyPhoto. Closes #2770
Not happy with this. The keyboard_shortcuts paramater doesn't seem to
work so had to disable in core which hits all instances of prettyPhoto.
Will revisit.
2013-03-22 00:24:00 +00:00
Mike Jolley 67c5fd1794 Fix reviews + use functions in reviews tab. 2013-03-15 12:59:01 +00:00
James Koster f3b0530c05 anchor title 2013-02-01 12:44:40 +00:00
James Koster ac70b46867 more prettyPhoto 2013-01-31 14:15:55 +00:00
Mike Jolley a41d297f76 woocommerce_product_review_comment_form_args filter #2316 2013-01-31 12:28:54 +00:00
Mike Jolley 192a8c5421 star ratings without images. 2013-01-14 10:51:06 +00:00
James Koster 5a8e25d743 noreviews class 2012-12-13 16:17:32 +00:00
Mike Jolley 7a0c734188 Fix prepares. Closes #1973. 2012-12-12 10:28:02 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley e61c152a7c disable ratings option. Closes #1503. 2012-09-21 21:21:50 +01:00