wordpress-seo
wordpress-seo copied to clipboard
Product category thumbnail incorrectly fetched
- [x] I've read and understood the contribution guidelines.
- [x] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
When an X image is set for a WooCommerce product, the image is not fetched when shared. Instead, the WooCommerce product category thumbnail is fetched is not used
To Reproduce
Step-by-step reproduction instructions
- Install Yoast SEO and WooCommerce
- Create a WooCommerce product category and upload a thumbnail
- Create a WooCommerce product, assign it to the category in step 2 then upload an X image
- Share the product URL on X
Expected results
- The uploaded X image for the product should be fetched
Actual results
- The thumbnail image of the product category is fetched by X
Technical info
- If relevant, which editor is affected (or editors):
- [x] Block Editor
- [ ] Gutenberg Editor
- [ ] Elementor Editor
- [ ] Classic Editor
- [ ] Other:
- Which browser is affected (or browsers):
- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Other:
Used versions
- Device you are using:
- Operating system:
- PHP version:
- WordPress version: 6.7.2
- WordPress Theme:
- Yoast SEO version: 24.7
- Gutenberg plugin version:
- Elementor plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
Please inform the customer of conversation # 1240839 when this conversation has been closed.
+1 https://wordpress.org/support/topic/product-category-image-showing-on-twitter-link-previews-instead-of-product-image/