Bug – Reviews don't have slashes stripped
-
Reviews that contain symbols such as ‘ don’t have slashes stripped upon displaying on the page. Therefore, words such as “don’t” appear as “don\’t”.
In wp-customer-reviews.php, line 806 currently reads:
<blockquote class="description"><p>' . $review->review_text . '</p></blockquote>
To fix this bug, it should read:
<blockquote class="description"><p>' . stripslashes($review->review_text) . '</p></blockquote>
.Thanks for making a great plugin!
- The topic ‘Bug – Reviews don't have slashes stripped’ is closed to new replies.