Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 886 forks source link

yoast_wpseo_primary #21112

Open prathamesh-gharat opened 7 months ago

prathamesh-gharat commented 7 months ago

Please give us a description of what happened

Yoast SEO creates blank entries _yoast_wpseo_primary_{taxonomy} in the post meta table even when no taxonomy terms have been set on a given article. My specific instance has 1,00,000+ articles with 5-6 taxonomies.

To Reproduce

On any standard WordPress installation

Step-by-step reproduction instructions

  1. Create a new post
  2. Save the post without setting any category / tag
  3. Check post meta

Expected results

  1. Yoast SEO should not save the _yoast_wpseo_primary_{taxonomy} meta fields when terms are not set.

Actual results

  1. Yoast SEO saves the _yoast_wpseo_primary_{taxonomy} meta fields even when the terms are not set.

Technical info

Used versions

josevarghese commented 7 months ago

Hi @prathamesh-gharat

Thanks for using the Yoast SEO plugin and reporting this to us.

Yes, you are right the post meta for _yoast_wpseo_focuskeywords will be empty until the customer adds the related information. I understand that it's not a good approach for a website with many posts.

Our product team will assess the severity of this problem in relation to other open bug reports and new features. Based on their assessment and investigation of whether there's any specific reason for the empty values added to the database, the bug report will be given a priority level. Our developers work on the highest priority issues first. Unfortunately, this means we cannot give you an estimate of when they'll start working on your report.

josevarghese commented 7 months ago

FR created for the empty values on database: https://github.com/Yoast/featurerequests/issues/958