WordPress.org

Making WordPress.org

Opened 6 weeks ago

Closed 2 weeks ago

#5043 closed defect (fixed)

Remove all inline microdata from plugin/theme review templates

Reported by: jonoaldersonwp Owned by: coffee2code
Milestone: Priority: high
Component: Support Forums Keywords: seo
Cc:

Description

Review templates, like https://wordpress.org/support/plugin/tweet-old-post/reviews/ and https://wordpress.org/support/theme/twentyseventeen/reviews/, contain inline microdata (such as aggregateRating properties on .review-ratings).

However, almost all of this markup is incorrect and/or outdated.

It should be removed, as a precursor to a follow-up ticket which will define and implement the (correct) JSON-ID approach.

Specifically, the following should be removed from the whole template:

  • Any <meta> tags used inline to house itemprop or similar properties (e.g., <meta itemprop="price" content="0.00" />).
  • Any itemprop properties.
  • Any itemtype properties.
  • Any itemscope properties.

Attachments (1)

5043.diff (2.1 KB) - added by dufresnesteven 2 weeks ago.
Remove inline microdata

Download all attachments as: .zip

Change History (5)

#1 @dd32
6 weeks ago

As with #5037 lets define the new JSON-ID format before we remove the existing tags.

#2 @dd32
6 weeks ago

  • Component changed from General to Support Forums

#3 @jonoaldersonwp
4 weeks ago

The replacement JSON is much more complex on these templates, to the point that I'm tempted to ice-box it for now until we've done a bunch more housekeeping elsewhere.

Can we just strip the existing stuff for now, as it's throwing errors in GSC and occluding other issues.

@dufresnesteven
2 weeks ago

Remove inline microdata

#4 @coffee2code
2 weeks ago

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

In 9600:

Support Forums, Ratings: Remove inline microdata from plugin/theme review templates.

Props dufresnesteven, jonoaldersonwp.
Fixes #5043.

Note: See TracTickets for help on using tickets.