WordPress.org

Making WordPress.org

Opened 7 weeks ago

Closed 7 weeks ago

#5021 closed defect (fixed)

Fix schema aggregateRating error on plugin pages

Reported by: jonoaldersonwp Owned by: dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords: seo analytics
Cc:

Description

Plugin pages output structured data relating to the number/values of their ratings and reviews. In some cases, those values are being flagged as incorrect.

Specifically, this review - https://wordpress.org/plugins/woo-stripe-subscription/ - has a reviewCount / ratingCount value of 1, despite there being no reviews present on/for the plugin.

I presume that there's some underlying issue here not specific to this plugin, but rather, to plugins where reviews have been deleted / fall under a threshold / fall between caching updates.

When this (whatever the underlying cause is) is the case, the aggregateRating property should be omitted.

Change History (1)

#1 @dd32
7 weeks ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9486:

Plugin Directory: Schema: Use WPORG_Ratings when fetching the review details for a plugin (when possible), the post-meta isn't always up-to-date.

Fixes #5021.

Note: See TracTickets for help on using tickets.