the_content problem
-
Hello,
I have some virtual pages on my website which for whatever reason had the_content() calls in them.Up until version 14, this call returned nothing.
After that, this call returned the most recent blog post.Deactivating Yoast fixed the problem.
Activating version 13.3 of Yoast fixed the problem (from an old git branch).I am confident that the problem is Yoast and that it happened in with the update to 14.
I can’t link you to the problem because I took out the function calls, since they weren’t needed anyway, but I thought you should know. I can make a virtual page for you to try if you want to pursue this.
Summary: with Yoast wordpress-seo active, the_content() returns most recent blog post when called from a virtual page — and maybe elsewhere? I know, why would a person use the_content on a virtual page … but still … it should return nothing, which is what happens when Yoast is not activated.
- The topic ‘the_content problem’ is closed to new replies.