Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5291 closed defect (bug) (fixed)

Possible to modify post values when creating a review

Reported by: clorith's profile Clorith Owned by: otto42's profile Otto42
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

See https://wordpress.org/support/topic/i-can-review-with-0-star-rating/ (archived, but available to those with powers).

Looks to just be missing a sanitize on submit to make sure it always has the expected minimum value of one star (no security implications by not providing stars, it's just a glitch in the UI, and maybe some calculation issues with average ratings?)

Change History (4)

#1 @Otto42
5 years ago

  • Owner set to Otto42
  • Status changed from new to accepted

#2 @Otto42
5 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 9984:

Support Forum: Simplify ratings saving, eliminate the case where users submit a review without a rating. Fixes #5291

#3 @Otto42
5 years ago

In 9985:

Support Forum: Explictly put the rating to a default when they don't send one also. See #5291

#4 @Otto42
5 years ago

#5294 was marked as a duplicate.

Note: See TracTickets for help on using tickets.