rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

Filters are missing in the product reviews schema #149

Open akinocakk opened 1 year ago

akinocakk commented 1 year ago

Hello,

We use filters to hide the names of commenters:

Ex: AB* **

In the product page source code, these names appear in the schemas without being filtered. As long as you don't directly access data on comments, there should be no problem.

Please do not skip filters in the Product_WooCommerce::set_rating method.

https://developer.wordpress.org/reference/hooks/comment_author/

and maybe you want to use: https://developer.wordpress.org/reference/hooks/get_comment_text/ https://developer.wordpress.org/reference/hooks/get_comment_date/ ...