Bug Related to Published Date
-
Hi
This is regarding a bug present in Yoast SEO plugin which incorrectly outputs “Published Date” in Schema, OG, etc.
How to Recreate bug:
Select a post. Let’s assume its published date is January 1, 2012.
Now to bump the post, I modified the post and changed its published date to November 04, 2021.
Yoast SEO will start showing new date as original published date in schema and og which is incorrect.
When we change published date of a post, its original published date is saved in “_wp_old_date” in wp_postmeta table.
So Yoast SEO should check first for the “_wp_old_date” value of a post. If its present, then it should show the correct published date in schema and OG.I noticed this bug because I regularly bump old topics for new users.
Thank you.
The topic ‘Bug Related to Published Date’ is closed to new replies.