Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #4998, comment 4


Ignore:
Timestamp:
02/03/2020 05:59:22 AM (5 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4998, comment 4

    initial v1  
    55> Maybe the best route is to move `worstRating` to 1 (or omit it, which defaults to 1) and conditionally add the `aggregateRating` prop if reviews are present?
    66
    7 That sounds like the best option to me, Drop `worstRating` and Conditionally add `ratingCount` / `cancelreviewCount` if `>= 1`
     7That sounds like the best option to me, Drop `worstRating` and Conditionally add `aggregateRating` if `ratingValue  >= 1`