• Resolved richcc

    (@richcc)


    Hi Chris & Crew,

    We use scheduled posts extensivly for alomst every artilce we publish (about 20/day). We couldn’t work out for a long time why we were not pinging pubsub, after reviewing the plugin source for a while we realised that the plugin subscribes to ‘save_post’ to decide whether to send a ping out or not.

    For publishers using scheduling, adding an action to the ‘publish_post’ hook would help significantly.

    It looks like the effort is adding one more action to the ‘__construct’ function for GNPUB_Websub and duplicating with slight modification the ‘post_saved’ function.

    I’m happy to write the code just let me know where to send the pull request.
    Thanks,
    Rich

    • This topic was modified 3 years, 7 months ago by richcc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter richcc

    (@richcc)

    I looked into the issue some more as it seems wp_publish_post actually calls save_post.

    Now I’m thinking it might be due to a conflict with the plugin: Scheduled Post Trigger, which we use to combat issues from W3TC + CloudFlare agressive caching.

    Hi Richcc,

    Appreciate your posts and thoughts on this. Please update the thread if you find it’s a conflict with Scheduled Post Trigger. The new owners of GN Plugin may be able to figure out a workaround. They will probably check in within a few days and may have some additional ideas,

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add Ping for Scheduled Posts’ is closed to new replies.