Title: wpseo_pre_analysis_post_content bug?
Last modified: August 30, 2016

---

# wpseo_pre_analysis_post_content bug?

 *  Resolved [sangfroidweb](https://wordpress.org/support/users/sangfroidweb/)
 * (@sangfroidweb)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpseo_pre_analysis_post_content-bug/)
 * I’m using the wpseo_pre_analysis_post_content filter to add parsed shortcode 
   to the content before Yoast analysis. It’s working for that… but I’m experiencing
   a bug that I seem to have isolated to this filter which is causing the pages 
   which I’m targeting with the filter to change their permalinks spontaneously 
   when saved.
 * Also.. I’m confused… I’ve seen some examples where the function handling the 
   filter takes 2 arguments (the content and a post argument.. not sure if it’s 
   supposed to be a post object, id, or what), and some examples where it takes 
   only 1 (the content)…
 * Any help would be appreciated…
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 1 replies (of 1 total)

 *  [AskKim](https://wordpress.org/support/users/askkim/)
 * (@askkim)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpseo_pre_analysis_post_content-bug/#post-6622241)
 * Hi sangfroidweb,
 * Assuming that you are able to replicate this with the default theme and only 
   our plugin enabled, I would recommend that you file a bug report on this at our
   github at: [https://github.com/Yoast/wordpress-seo](https://github.com/Yoast/wordpress-seo)
 * Thanks!
 * ~ Kim ~
    Support at Yoast

Viewing 1 replies (of 1 total)

The topic ‘wpseo_pre_analysis_post_content bug?’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AskKim](https://wordpress.org/support/users/askkim/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/wpseo_pre_analysis_post_content-bug/#post-6622241)
 * Status: resolved