-
Description
So I am seeing a weird issue while publishing a new post. Publishing post using Gutenberg Editor also triggers Post Update function causing (post) published and (post) updated date duplicates.
This does not happen with Classic Editor.
I have tested the issue extensively and shortlisted a few troubling plugins that cause this:
Add to any Buttons Plugin (outdated and removed)
Lucky Table of Contents (outdated and removed)
RankMath (which is the problem) (cannot remove)This may also be affecting my site’s SEO as it is adding duplicate “published” and “last modified” dates. I think this may also be a reason why my posts don’t feature in Google Discover anymore, like they used to.
So instead of improving SEO, my site may potentially be negatively affected due to this silly date issue.Also, is it necessary to display the last updated date on posts? Or can I remove it? I can stop displaying it by just removing a piece of CSS code.
Expected behavior
Should only publish and not trigger post update.Actual behavior
Publishes the post and starts updating it.Screenshots or screen recording
Screenshot: (from production site)
http://prnt.sc/10kh53jVideo: (from staging site)
https://d.pr/free/v/QwAHBvUsing Classic Editor
http://prnt.sc/10kl2zmWordPress information
WordPress version: “5.6.2” & “5.7”
All plugins except RankMath deactivated.
Are you using a default theme “No” Using “Aquene” themeDevice information
Device: “Desktop”
Operating system: “Windows 10”
Browser: “Chrome 89”
The ticket ‘Publishing post also triggers “Post Update” in Gutenberg Caused by RM’ is closed to new replies.