• Has anyone experienced ‘deadness’ with the publish_post plugin hook in 1.5.1.2?… I have… ( seems like I was using it just yesterday. )

    I was recently using nightly builds, and developing a plugin. Part of the plugin relies on the publish_post action hook… That part of the plugin… just never happens… I have tried making it echo some debugging output, but nothing happend. As a final test to make sure I wasn’t going insane, I made the function that is called by publish_post send an email to me… ( and I even made sure the server’s email is working ok… ). I have yet to recieve an email. Now, I techically shouldn’t be posting about a problem with a nightly build here, but this continued to be a problem even after I switched to the latest stable release. It is my understanding that publish_post is called when I click ‘Publish’… Is it just me? am I going insane?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m experiencing the same problem!

    example:


    function tgr_test() {
    echo "<h1>BING</h1>";
    }

    add_action('publish_post', 'tgr_test');

    Absolutely NOTHING happpens here…. (WP 1.5.2)

    Can someone please assist?

    Nevermind… I got it. It seems you just can’t echo anything at that point in the loop… It does get called.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘publish_post, perhaps I’m insane?’ is closed to new replies.