WordPress.org

Making WordPress.org

Opened 6 weeks ago

Closed 6 weeks ago

Last modified 5 weeks ago

#5291 closed defect (fixed)

Possible to modify post values when creating a review

Reported by: Clorith Owned by: 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
6 weeks ago

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

#2 @Otto42
6 weeks 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
6 weeks ago

In 9985:

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

#4 @Otto42
5 weeks ago

#5294 was marked as a duplicate.

Note: See TracTickets for help on using tickets.