Support » Plugin: Post Type Switcher » Potential conflict with themes and plugins

  • Michael

    (@mdorchain)


    The plugin override not only the current edited post but any post that is updated or inserted on save_post action. This can switch the post type of other posts without your knowledge.

    On simple site without complex relationship between post types, the plugin should behave normally.

Viewing 1 replies (of 1 total)
  • Plugin Author John James Jacoby

    (@johnjamesjacoby)

    I’ve dug into this, and ultimately it’s because some plugins (like WPML) do something they really shouldn’t, which is call update_post() (sometimes multiple times) inside of an existing update_post() call.

    Version 3.1.0 of Post Switcher predicts this unsafe condition, and avoids updating those secondary posts.

Viewing 1 replies (of 1 total)
  • The topic ‘Potential conflict with themes and plugins’ is closed to new replies.