Ready to get started?Download WordPress


save_post filter doesn't seem to be triggered the first time a post is saved (4 posts)

  1. ChristineD
    Posted 8 years ago #

    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.


  2. ChristineD
    Posted 8 years ago #

    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?)

  3. Ryan Boren
    WordPress Dev
    Posted 8 years ago #

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

  4. Ryan Boren
    WordPress Dev
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.