The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Scheduled posts problem (1 post)

  1. Steve
    Posted 6 years ago #

    I'm wondering if anyone can help.

    I have a user of my plugin and when he posts a post directly everything is fine but if he schedules the post then when the post gets published my code (which is hooked in using add_action('publish_post', 'wordbooker_publish');) fires twice.

    I can't reproduce in on my set up and no-one else seems to be complaining about it which would suggest its either a "rogue" plugin or a configuration issue in his system.

    Has anyone else ever experienced anything like this?

    At the moment I'm looking at having to code in a check to make sure my code isn't already running for that post.

Topic Closed

This topic has been closed to new replies.

About this Topic