[wp-meta] [Making WordPress.org] #4275: Reviews that are moderated, do not keep their ratings

Making WordPress.org noreply at wordpress.org
Tue Apr 16 01:08:38 UTC 2024


#4275: Reviews that are moderated, do not keep their ratings
----------------------------+-----------------------
 Reporter:  dd32            |       Owner:  dd32
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:
Component:  Support Forums  |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by dd32):

 > When that happens, the ratings data stays attached to the post_id of the
 archived post, and the new public review doesn't have an attached ratings
 record.

 ...Because Reviews can only have a singular review per user+plugin
 combination - So when the user adds a second review that can be accepted,
 the underlying ratings code is saying "Oh we've already stored that user
 rating" and not storing it still...

 In this case, we probably need to update the ratings table to refer to the
 latest review post, rather than the first.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4275#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list