Support » Alpha/Beta/RC » save_post filter doesn’t seem to be triggered the first time a post is saved

  • I have a plugin, where a bunch o’ stuff is meant to happen when the post is saved. It looks like this isn’t happening the first time a new post is saved.

    i.e. if I create a new post, and hit the save and continue editing button; the stuff in my save_post filter isn’t happening; but if I hit save and continue editing a second time, it is.

    I’m not sure whether this is a product of how my plugin hangs together, or if it’s a bug; so some clarification either way would be great.

    -Ch.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The save_post filter seems to no longer exist (which I guess explains why it wasn’t doing anything); but there is a wp_insert_post filter which does what I need when saving a draft.

    (Is there a central list of the changes that need to take place to port a plugin from 1.5ish wordpress to 2ish wordpress?)

    Moderator Ryan Boren

    (@ryan)

    WordPress Dev

    Write a bug, and we’ll put it back.

    Moderator Ryan Boren

    (@ryan)

    WordPress Dev

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘save_post filter doesn’t seem to be triggered the first time a post is saved’ is closed to new replies.