Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#56831 closed feature request (invalid)

remover strong tag in wc_get_star_rating_html()

Reported by: bananamix's profile bananamix Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Please remove the <strong> tag of the star rating in /woocommerce/includes/wc-template-functions.php wc_get_star_rating_html()

Background:

  • In case I have many reviews with 5 stars, I have many strong tags for the same word "5". That could lead to SEO down ranking.

Common mistakes with strong tags according Seobility.com:

  • You should avoid excessive use, as search engines will penalize over-optimization and -- page layout that appears unnatural.
  • Bold or strong tags are used repeatedly for the same words

Compared to the total text length, too many bold or strong tags are used

Change History (3)

#1 @joyously
22 months ago

  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from defect (bug) to feature request

Hello! Welcome to Trac for WordPress.
Your comment is about some code that is not part of WordPress.

#2 @audrasjb
22 months ago

Hello and welcome to WordPress Core Trac!

To clarify: you should use WooCommerce support forum as this website is only meant to address issues found in WordPress Core. The code you pointed out comes from a plugin, WooCommerce.

Regards

#3 @SergeyBiryukov
22 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.